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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete a column that its name is First 1

Status
Not open for further replies.

Bitaoo

Programmer
Dec 18, 2002
81
US
Hello,

I have a problem, I defined a column named First in my table by mistake and now I cannot delete this column, I think First is a reserved word in MSAccess DB, would you please help me to drop this column from Table, Here the statement that I am using:

Alter Table ChartChoices Drop Column First

Thanks,
--Bita
 
Why not drop the column in table design view ?

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I need to do it through a VB6 program. Thanks
 
Sometimes, when dealing with reserwed words, one might get lucky surrounding them with [brackets].

[tt]Alter Table ChartChoices Drop Column [First][/tt]

Roy-Vidar
 
Thanks a lot Roy. That was great. :)
--Bita
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top