Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change column size in MySQL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01220645
Message ID:
01220649
Vues:
16
Hi Rich,

1) What error return AERROR()?
2) Have you access for ALTER TABLE on database or the table?

MartiJ

>I have myTable with MyColumn VARCHAR(50)
>
>I need to change the length of this field to 100
>
>I tried
>ALTER TABLE myTable ALTER COLUMN myColumn VARCHAR(100);
>
>but that generated an error. So I tried
>ALTER TABLE myTable CHANGE myColumn myColumn VARCHAR(100);
>but that generated the same error.
>
>I can drop the column and recreate it, but I'm wondering what the correct syntax is.
>
>Thanks to all..........Rich
>
>UPDATE.......the second command worked. I had not editted the original command correctly in the viewer.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform