Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
$ operator in SQL?
Message
 
 
To
10/10/2005 18:11:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057806
Message ID:
01057943
Views:
11
>Is it possible to use the $ operator in an SQL statement? I would like to create an SQL to select records where a certain character string is contained anywhere within one of the character fields of my table.
>
>If it's not possible to use the $ operator in SQL, is there another way to do it?
>
>Thanks.

It depends on your back-end. In VFP you can use $, in SQL Server you can use LIKE operator (and you can use it for VFP too). I guess you would better be using LIKE operator if you want your code to be SQL Server compatible.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform