Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
$ string operator
Message
 
To
01/11/2006 15:53:51
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01166362
Message ID:
01166372
Views:
13
>What's the equivalent of the VFP $ string operator in SQL Server.
>
>I am trying to find out if a string contains an empty space.
>
>Thanks,
>Sergio
CHARINDEX('I seach this', MyFieldFromTable) 
If the function return a value greater that zero the first string is second one, if it returns zero, no match found.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform