Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unexplained value in SQL field
Message
From
09/10/2006 13:24:20
 
 
To
09/10/2006 12:48:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01160578
Message ID:
01160635
Views:
8
>BTW I wouldn't try to have "migratable" SQL much. IMHO you can't write migratable code for VFP SQL and ANSI SQL at the same time. IOW you need to check your SQL per provider. ie: ISNULL() in SQL server would cover iif(isnull(),,) and nvl() of VFP and further it has case when ... constructs.

The methods of the data class handle the proper syntax for this. So, this shouldn't be an issue. The goal is to get as close as possible to avoiding code changes in the SQL commands when moving from one backend to another.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform