Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking Up Records That have % in Field Data
Message
 
À
26/09/2008 12:00:19
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01350997
Message ID:
01350999
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>I am needing to do a SPT to find part numbers that have a % in them. Since this is the wildcard symbol haw would I write the sql string?
SELECT * FROM YourTable WHERE ATC([%], TheField) #  0 INTO CURSOR crsTest
And because you mention SPT here SQL Server version:
SELECT * FROM YourTable WHERE CHARINDEX('%', TheField) >  0
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform