Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing trailing spaces from varchar fields
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00826450
Message ID:
00826460
Vues:
23
Thanks Sergey,

>I would use (not tested)
UPDATE ... SET field = RTRIM(field)
>  WHERE field LIKE (RTRIM(field) + ' %')
Yeah, that should help cut it down a bit.


>I also would look into ways to eliminate the padding on VFP side.

I already know the answer to this one. Use VFP 8 and the cursor adaptor class. And that will happen hopefully sooner rather than later, but until then database and backup file bloat is causing some inconveniences.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform