Insert a Column [message #22011] |
Tue, 17 September 2002 02:41 |
Ishan Parinda
Messages: 1 Registered: September 2002
|
Junior Member |
|
|
I have a table wich has 4 columns.I want to insert a new column as the 3rd column, not as the last column.
Can you tell me how to do this
ThankX
Reg's
Parinda
|
|
|
|
Re: Insert a Column [message #22017 is a reply to message #22011] |
Tue, 17 September 2002 08:18 |
jiltin
Messages: 44 Registered: September 2002
|
Member |
|
|
wherever you add a column using alter table add column, it is going to add at the last column.
If you want that to be specific, you can do it only while creating it. Hence, you need to drop
and recreate the table, be careful not to loose the data. You may need to create a temp table
with data and then drop and recreate the table and reload the data from temp table
jiltin
|
|
|