02-19-2010 11:34 AM
Hi Folks,
I'm monitoring an access database for new records using LV2009 + the Database connectivity toolset(not 8.5.1 as in sig). Anyway the number of rows could be on the order of 200,000+, so I want to limit my query to only one record, the last. Unable to get the LIMIT clause to function, I searched and came across this: http://office.microsoft.com/en-us/access/HP010322501033.aspx. It states:
Microsoft Jet SQL does not support the following ANSI SQL features:
Is this the problem I'm going up against? The reason I use Jet is because I can more easily programatically load individual databases (and not have to mess around with UDL files).
Any thoughts on a work-around?
Happy Wiring,
Jamie
02-19-2010 11:35 AM
02-19-2010 12:32 PM
02-20-2010 08:59 PM
Hi Jamie,
I've frequently used DISTINCT in SQL queries run against a JET db (Access). I've infrequently but successfully used LIMIT in SQL queries run against a JET db. Most of my experience is with running DIAdem VBScripts to return records from data bases, but it really shouldn't matter if LV or DIAdem is sending the SQL string to the db to execute.
What is the exact query string you are sending with LV?
Brad Turpin
DIAdem Product Support Engineer
National Instruments