Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Substring search in a SQL table
Message
From
15/01/2007 18:29:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01185754
Message ID:
01185755
Views:
18
>What is the best way to do this type of substring search now that the data is in SQL tables?
>
>
>SELECT Field1 FROM Table1 WHERE 'Microsoft' $ Field2
>
SELECT Field1 FROM Table1 WHERE field2 like '%Microsoft%'

PS: Also check fulltext enabling your tables for such queries.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform