chump2877
06-27-2005, 01:42 AM
Here's my question:
If I have a MySQL database column that reads:
index_no
1
2
3
4
5
and I delete one of the rows, let's say the one where index_no='2'....so now the column reads:
index_no
1
3
4
5
How do I recreate and replace the existing column values so that the column reads:
index_no
1
2
3
4
????
This database is ****, so I don;t have any other columns to cross-reference this column with....is there a way to simply recreate and replace the column values so they start at '1' (at the top) and (in increments of 1) go on to infinity (without cross-referencing any other columns, hopefully)?
Thanks again.
If I have a MySQL database column that reads:
index_no
1
2
3
4
5
and I delete one of the rows, let's say the one where index_no='2'....so now the column reads:
index_no
1
3
4
5
How do I recreate and replace the existing column values so that the column reads:
index_no
1
2
3
4
????
This database is ****, so I don;t have any other columns to cross-reference this column with....is there a way to simply recreate and replace the column values so they start at '1' (at the top) and (in increments of 1) go on to infinity (without cross-referencing any other columns, hopefully)?
Thanks again.