D
DEI
I have written an SQL String for a crosstab query. I want to format the
column heading as "Year, Qtr, Quarter" (Ex: "2005, Qtr 3"). I am trying to
do this with the Pivot statement on the SL string, but can not get the syntax
correct, and have tried everything. Do I need to use double quotes?
Here is the statement. This is driving me crazy, I wish I fully understood
the logic. I get a syntax error when this line is evaluated. What is the
rule for a text string inside a string?
"PIVOT [CONTROL].[Y]" & ", Qtr" & "[CONTROL].[Q];"
Thanks in advance
column heading as "Year, Qtr, Quarter" (Ex: "2005, Qtr 3"). I am trying to
do this with the Pivot statement on the SL string, but can not get the syntax
correct, and have tried everything. Do I need to use double quotes?
Here is the statement. This is driving me crazy, I wish I fully understood
the logic. I get a syntax error when this line is evaluated. What is the
rule for a text string inside a string?
"PIVOT [CONTROL].[Y]" & ", Qtr" & "[CONTROL].[Q];"
Thanks in advance