Results 1 to 2 of 2

Thread: Alter Table

  1. #1

    Thread Starter
    Hyperactive Member JMvVliet's Avatar
    Join Date
    May 2001
    Location
    Papendrecht, Netherlands
    Posts
    310

    Alter Table

    Hello all,

    I've got a question about the ALTER TABLE statement for adding columns in SQL Server. I can do something like:

    ALTER TABLE table ADD column ...

    Is there a way to add a column before or after another column? I couldn't find how in whatever reference I have seen.

    Thnx in advance.

  2. #2
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762
    you need to build the new table with older data ..

    with sql statment...

    create table aa select col1,col2,col3 from mytable

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width