Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
ODBC Driver 6.0 Date Conversion Errors
We installed the new ODBC driver on one of our servers today and one of our reporting applications stopped working.
After digging into the code and trying varios things we determine our code was failing when trying to perform a date operation.
The code worked in ODBC version 5.5
The prervious code was:
select * from TRANSACTIONS where TRANDATE >= '05/05/2010'
We ran the code in both MSQuery and winSQL, it falied with both.
The results were:
WinSQL:
Error: Error getting the literal value of right operand.[0] (State:01000, Native Code: 0)
MSQuery:
Could not add the table. TRANSACTIONS
We modified the code to use another format.
0