Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removing fields from a table in a program

Status
Not open for further replies.

MikeL91

Programmer
Feb 8, 2001
100
US
I have done this once, but lost the code, and can't seem to find the section in the book.

I want to modify a structure from my program when it runs to remove a field.


Thanks in advance,
Mike
 
Mike,
Try:
ALTER TABLE TableName1 [DROP [COLUMN] FieldName3]

Rick
 
however before executing rick's advice
ensure that data table you are modifying is in exclusive mode
[pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top