|
I am getting an error OLE DB provider "MSDAORA" for linked server "" returned message "ORA-00907: missing right parenthesis When I run this Query If I run it withough the date grouping it works fine...but I need it at the month/year level not the day I am accessing oracle from SQL 2K5
(comments are locked)
|
|
It appears that if you want to run the query as written then you don't need to use 4 single quotes around your YYYYMM. You would need them only if the whole statement would be fed into the varchar variable first and then fed into exec so double escaping would be a must. Please try restating your statement like this: Oleg
(comments are locked)
|

