I
inungh
I would like to build my SQL to insert my crosstab query in to temp
table my SQL would like following:
INSERT INTO tblTemp
(Field1, Field2, Filed3.....)
SELECT DISCTINCT CField1, CField2, CField3....
FROM MyCrosstab WHERE MyField = [MyParam]
I can get Field1, Field2, Field3 and CField1, CField2, CField3 names,
but table name is a crosstab query.
Are there any way to build the SQL statement using code without using
a crosstab query for the table name?
Your information is great appreciated,
table my SQL would like following:
INSERT INTO tblTemp
(Field1, Field2, Filed3.....)
SELECT DISCTINCT CField1, CField2, CField3....
FROM MyCrosstab WHERE MyField = [MyParam]
I can get Field1, Field2, Field3 and CField1, CField2, CField3 names,
but table name is a crosstab query.
Are there any way to build the SQL statement using code without using
a crosstab query for the table name?
Your information is great appreciated,