Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to select matched records?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00891695
Message ID:
00891697
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform