Hi
I want to add a new column to a table through Query Analyzer. This is the code I am using for addring a
column.
***************
alter table store add city char(15);
***************
The above query is creating a column at the end.
Above table has 10 columns.
I want to add the city column after address column which
is 5th column. Is is possible to create a column at
a specific position through query analyzer.
I could do this one with Enterprise Manager .
But I want to do it through query analyzer as I have to
execute the same file in many other stores also.
Any help will be highly appreciated.
Thanks in advance.
I want to add a new column to a table through Query Analyzer. This is the code I am using for addring a
column.
***************
alter table store add city char(15);
***************
The above query is creating a column at the end.
Above table has 10 columns.
I want to add the city column after address column which
is 5th column. Is is possible to create a column at
a specific position through query analyzer.
I could do this one with Enterprise Manager .
But I want to do it through query analyzer as I have to
execute the same file in many other stores also.
Any help will be highly appreciated.
Thanks in advance.