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

ADD COLUMN in a specified position?

Status
Not open for further replies.

Zoon

Technical User
Nov 27, 2002
28
US
Can I add a column to a jet 3.5 database in a specified column position using SQL?

I tried the following and they did not work; ALTER TABLE [Products] ADD COLUMN [New Things] TEXT(20) BEFORE [Entered Date], ALTER TABLE [Products] ADD COLUMN [New Things] TEXT(20) AFTER [Description].

This works but it puts New Things in as the last column; ALTER TABLE [Products] ADD COLUMN [New Things] TEXT(20).
 
Why do you care about the position of the column? I would say that relying on the position of a column in a database is a dangerous thing to do.

Jeremy =============
Jeremy Wallace
Designing, Developing, and Deploying Access Databases Since 1995

Take a look at the Developers' section of the site for some helpful fundamentals.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top