Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename fields name
Message
From
06/09/2006 09:48:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/09/2006 09:20:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01151225
Message ID:
01151302
Views:
38
>hi ,
>thank you for reply and help,
>
>is there away to add newfield to my table and put it as first field at my table vai alter
>ALTER TABLE alldat ADD COLUMN num n(9) && as first field
>
>thanks.

Not with ALTER TABLE - AFAIK, this command will always add fields at the end.

Basically, you can create a new table and copy data from the old table. I suggest that for importing data from Excel, you copy to a temporary table first.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform