Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro SQL vs. SQL Server syntax differences?
Message
 
To
02/08/2009 23:17:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01415825
Message ID:
01415861
Views:
70
Hi Matt,

1) You should try running your application with EngineBehavior 90, since that's closer to what SQL servers use.

2) SQL servers are much more sensitive to the order of clauses in the SQL statement. Where in VFP you can put ORDER BY before WHERE the same is not possible for most servers.

3) If your SQL statement refer to fields from tables that are not part of the query or variables, you need to convert them to parameters.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform