Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing blanks in a field
Message
De
21/12/2004 15:14:26
 
 
À
21/12/2004 10:11:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00970912
Message ID:
00971129
Vues:
31
How about:
select padr(STRTRAN(fieldname," ",""),30) AS fieldname FROM tablebname

Peter

>
>SELECT STRTRAN(fieldname," ","")+SPACE(nn-LEN(ALLTRIM(fieldname))) AS fieldname FROM tablebname
>
>where nn is the length of the field
>
>
>Nick
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform