cancel
Showing results for 
Search instead for 
Did you mean: 

How to make query crosstab dynamic in column using Query Generator

Former Member
0 Kudos

Hi all,

is it possible to make a query crosstab dynamic in column using query Generator ?

Actually i have a query in store procedure format, it runs well when execute in SQl server.

But i want it to run in query Generator which can selecting the parameter.

Thanks in advance

Regards

KK

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

Query generator is mainly used for reporting purpose...

I don't think you can work the SP since i need to know the purpose using SP in query generator..

let me know...

Former Member
0 Kudos

Hi Kambadasan,

Actually if the column header is fix/static , i can do it using select query.

Seems that the heading column is dynamic which i can select the range year that i want.

It's difficult to make this using select query. So i make it by using Store procedure.

Former Member
0 Kudos

Hi......

Have you tried Pivot type query code?

Try I think this will help you out.......

Regards,

Rahul

Former Member
0 Kudos

Hi Rahul,

Pivot , hm i haven't try it.

Actually i use a store procedure that can show the dynamic column. I get it from googling.

Can you give me some example about pivot query ?

thanks in advance

regards

KK

Former Member

Answers (1)

Answers (1)

Former Member
0 Kudos

HI KK,

It is your requirement or u jus wanna try. Cross tab functionality cannot be done in Query Generator. Use crystal report for that type of requirements.

regards,

Vignesh

Former Member
0 Kudos

Hi vigneshR,

Actually for the first time , i have already make it in crystal report. but due to limitless in paper size. So i move it to query generator.

Thanks in advance

Regards

KK