Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop column??
Message
From
21/05/2012 00:26:04
 
 
To
16/05/2012 02:25:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01543651
Message ID:
01543889
Views:
30
>>Hi
>>I am trying to delete a column - the 'drop' command does not seem to work
>>does anyone know the proper sytax?
>>
>>Alter Table C:\mytable.dbf drop Column 'notneeded'
>>
>You don't need quotes around the column name:
>
>CREATE TABLE dropcoltest ( Col1 C( 1 ), Col2 C( 1 ) )
>CLOSE DATABASES all
>ALTER table dropcoltest drop COLUMN col2
>MODIFY STRUCTURE
>
thanks Al. exactly what i was looking. worked like a charm.

k
Previous
Reply
Map
View

Click here to load this message in the networking platform