Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT SQL - Wild card and control charaters
Message
De
05/09/1997 10:38:53
 
 
À
05/09/1997 10:29:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00048692
Message ID:
00048694
Vues:
22
>I usual do a wild card search for a string of characters with a
>SELECT - SQL statement. I always put a space in front of the string to
>filter out unwanted results. If the word or string I'm looking for is
>preceded by carriage return it will not pick it up the record. How can I
>adjust my SELECT statement to account for the carriage return?
>
>This is how I look for it now: WHERE descriptiveField LIKE "% StringValue%"
>
>Thanks!

You can filter unwanted leftmost character using:
Select .... Where Left(descriptiveField,1)<>chr(13)
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform