Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to select matched records?
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00891695
Message ID:
00891697
Views:
26
Hi Samuel,

... WHERE field in ('RAW','WIP','FGD')
... WHERE field LIKE '%RAW%' OR field LIKE '%WIP%' OR field LIKE '%FGD%'

Note: if your DB server is case-sensitive you must uppercase(field): UCASE(field) LIKE '%WIP%'

MartinJ

>Hi all,
>I wish to select out some matched records in my given condition.
>Such as a record has field "item_type" contains "RAW,WIP,FGD"
>and some contain "RAW,FGD".... How to select all records matched
>with "FGD" ? In VFP, I can use "FGD" $ item_type, but it does not
>accept $ in SQL syntax.
>Can you help?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform