SQLEXEC(m.handle, [SELECT * FROM table WHERE datefrom > '2004-29-03 00:00:00'])Using SQL profiler, we could see that the following commands were issued by VFP on SQLSTRINGCONNECT to SQL Server:
set language british set dateformat dmy set datefirst 1After sp1, with no changes to the executable, this changes to:
set language us_english set dateformat mdy set datefirst 7We now need to use a date format of '20042903 00:00:00' (ie no hyphens).