Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trimming a field in a sql statment
Message
De
22/08/2000 21:23:15
 
 
À
22/08/2000 00:55:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00407618
Message ID:
00408076
Vues:
14
>I'm trying to do this sql statement
>SELECT item.ticket, Item.item, item.serialnr, item.cat;
> FROM item;
> where (ltrim(Item.ticket)) = temp;
>
>I need to trim all the blanks out of this character field, but it wont do it in my where statement anyone know of a way to do this?
>
> Kelly


Perhaps there are some leading or trailing blanks in Temp which are getting in the way??

Have you tried ALLTRIM(item.ticket) = ALLTRIM(temp)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform