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 OpenQuery Date issue
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''
0