Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert-SQL pads fields with spaces...
Message
 
 
À
19/01/1999 09:55:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00177560
Message ID:
00177611
Vues:
28
I have no idea if this will work/is possible, but could you put a trigger on the record so that when something is inserted, it replaces each field with ALLTRIM(fieldname)?

-Michelle


>I need to insert "CERT" into a field that is 10 characters long on a sysbase database engine. I can't allow spaces to pad out the field, or another application will refuse to see the record. This DOESN'T work:
>
>insert into master_cred (system_name) values ("CERT")
>
>That will pad with spaces. What do I need to do?
>
>Thanks! :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform