Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL $ operator
Message
 
 
To
23/10/2001 07:29:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00571797
Message ID:
00572087
Views:
48
>>>>Hello to everybody,
>>>>
>>>>Can somebody tell me please what is the VFP equivalent operator "$" in SQL
>>>>
>>>>I want to do as follow:
>>>>
>>>>SELECT * FROM CLIENT WHERE 'CORP' $ NAME
>>>>
>>>>Thank in Advance ...
>>>
>>>
>>>Try LIKE %Something%
>>>
>>>SELECT * FROM CLIENT WHERE NAME LIKE %CORP%
>>There're quotes missing
>>
SELECT * FROM CLIENT WHERE NAME LIKE '%CORP%'
>
>Does it have to be single quotes?
>
>Hilmar.

It's a good idea to use the single quotes as string delimiters. This way you'll get consistent results. The double quotes can be used as string delimiters only id QUOTED_IDENTIFIER is OFF on Sql Server.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform