I have a table with a primary varchar key and some others columns.
I want to add a new column at the begining of the table which is Numeric auto_increment. When I add this new column via phpMyAdmin, the column is added with all the values set to 0.
But what I want is that the values of this newly added column to be like 1,2,3,4,....... ..,nth no of rows in the table.
How can I do it?
Any help is appreciated.
Thanks.
I want to add a new column at the begining of the table which is Numeric auto_increment. When I add this new column via phpMyAdmin, the column is added with all the values set to 0.
But what I want is that the values of this newly added column to be like 1,2,3,4,....... ..,nth no of rows in the table.
How can I do it?
Any help is appreciated.
Thanks.
Comment