Submit Your Article Forum Rules

Results 1 to 5 of 5

Thread: SQL Server - adding new column at specified position

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    2

    SQL Server - adding new column at specified position

    Adding a new column in existing table at specified position in SQL Server. In the middle of existing column set.

  2. #2
    arunrakwal,
    i am guessing you are actually asking a question here!
    use the design view in enterprise manager to input the column where you require it.

    MM
    M0rtyM0use

    Simply Rugby

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    2
    THanks for reply,

    Yes i am asking a question only.

    I need to do this thru Script only.

    And the new column is required in between the existing column set and not at the last position.

  4. #4
    arunrakwal,
    if you are going to be inserting columns using a script then i assume you are going to be querying the db also by script which menas it does not matter what order column names are in.



    MM
    M0rtyM0use

    Simply Rugby

  5. #5
    Enterprise manager is a GUI for sql scripting. Every command Enterprise Manager execute is a sql script execution. There is a command to do that but I don't konw what it is. Try asking your question at sqljunkies.com

    http://www.sqljunkies.com

    sqlmag.com was the best resource but they charge now for access. It's hard to find good tips these days.

    hope this post was helpful.

Similar Threads

  1. From position 12 to position 500, all because the Site Description changed!!
    By fulleffect in forum Search Engine Optimization Forum
    Replies: 9
    Last Post: 11-04-2008, 10:13 AM
  2. From position 8 to position 76 in five days... Please help
    By webitaly in forum Google Discussion Forum
    Replies: 44
    Last Post: 01-06-2007, 02:12 AM
  3. CSS / Column problem
    By EmmaGale in forum Graphics & Design Discussion Forum
    Replies: 9
    Last Post: 07-25-2005, 06:14 AM
  4. Left Column vs. Right Column
    By Bohak in forum Graphics & Design Discussion Forum
    Replies: 3
    Last Post: 12-01-2004, 10:07 AM

Posting Permissions

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