Hi everyone,
I am trying to use MS Query from Excel to create a query against an Oracle (9.2) database. Most everything works just fine, but when I try to create a column alias by double-clicking on a column header in the bottom pane and entering a column heading, the SQL created by MS Query is invalid for our implementation.
SELECT CUSTOMER.CUST_NBR AS 'Customer',
FROM OWNER.CUSTOMER CUSTOMER
I get the error: "OR-00923: FROM keyword not found where expected."
I tried this on our Oracle interface and got the same error. In that interface, I removed the AS keyword and substituted double-quotes for the single quotes, and it ran fine.
However, making the same changes to the SQL statement in MS Query does NOT fix the problem.
Anyone have experience with anything like this?
Thanks in Advance,
Marty
I am trying to use MS Query from Excel to create a query against an Oracle (9.2) database. Most everything works just fine, but when I try to create a column alias by double-clicking on a column header in the bottom pane and entering a column heading, the SQL created by MS Query is invalid for our implementation.
SELECT CUSTOMER.CUST_NBR AS 'Customer',
FROM OWNER.CUSTOMER CUSTOMER
I get the error: "OR-00923: FROM keyword not found where expected."
I tried this on our Oracle interface and got the same error. In that interface, I removed the AS keyword and substituted double-quotes for the single quotes, and it ran fine.
However, making the same changes to the SQL statement in MS Query does NOT fix the problem.
Anyone have experience with anything like this?
Thanks in Advance,
Marty