All,
We were just upgraded to 2018.1 this morning and now all of our queries that include a date in the where clause error.
Example. We have a C# program that uses the ODBC OpenQuery to get some data out of NetSuite. Here is the query
select * from OPENQUERY(NETSUITE_PRODUCTION, '
--select sum(item_count) as item_count
select date_last_modified
from Administrator.transactions trans
inner join Administrator.transaction_lines tln on tln.transaction_id = trans.transaction_id
inner join Administrator.LOCATIONS loc on loc.location_id = tln.location_id
where transaction_type = ''Item Receipt''
and loc.name = ''Warehouse''
and item_id = 12864
and date_last_modified >= ''2018-01-12 00:00:00''
and date_last_modified <= ''2018-01-12 23:59:59''
')
It worked fine yesterday but not today. If you take out the date where clauses it works fine. With them in there we gte the error "Error getting the literal value of right operand. [10169]"
What is going on?
Thanks,
Karen