jmah08
February 4th, 2003, 01:51 PM
I am in the process of converting an MS Access database into Oracle. I hit a bump as I was converting queries. I have several corsstab queries within access that I would like to convert into standard SQL for our developers, but am not sure of the command. Below is the MS Access SQL cut and pasted right from the query (the field names etc. are generic for the example). How would I re-write this in standard SQL to use in something like Sequel Navigator?
TRANSFORM Count(Table.Field1) AS [Count]
SELECT Table.Field2, Table.Field3, Table.Field4
FROM Table
WHERE (((Table.Field5) Is Not Null))
GROUP BY Table.Field2, Table.Field3, Table.Field4
PIVOT Table.Field6;
Thanks
TRANSFORM Count(Table.Field1) AS [Count]
SELECT Table.Field2, Table.Field3, Table.Field4
FROM Table
WHERE (((Table.Field5) Is Not Null))
GROUP BY Table.Field2, Table.Field3, Table.Field4
PIVOT Table.Field6;
Thanks