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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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