Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent in SQL Server
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00966840
Message ID:
00966845
Views:
8
>I'm trying to find an efficient requivelant of Fox's $ operator for doing the same thing in SQL Server (TSQL)... like so...
>
>SELECT ID From MyTable WHERE "some text" $ MyTable.Notes
>
>So what is the equivalent of "$" in SQL Server?
>
>Thank you.

The LIKE clause should do that for you:
SELECT ID From MyTable WHERE MyTable.Notes LIKE '%sometext%'
Previous
Reply
Map
View

Click here to load this message in the networking platform