Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change column size in MySQL
Message
 
To
27/04/2007 17:32:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01220645
Message ID:
01220649
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform