Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to increase column by 1 character
Message
De
05/10/2000 14:20:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00425446
Message ID:
00425453
Vues:
8
>i have a 1 character column that now needs to be two characters. i would also like to insert a leading 0 as the first character in the new two character column. so if the old value was '1', i would now like to have '01'.
>
>thanks
>
>brenda

ALTER TABLE MyTable ALTER COLUMN MyColumn C(2)
REPLACE ALL MyColumn WITH "0" + MyColumn
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform