Celestial
10-06-2011, 02:48 AM
Hi.
Is there any way to condense down the primary key of a table if there are missing numbers?
For example, the primary key is a number from 1 to 100 and it has random numbers missing from rows being deleted.
ID DATA
1 codingforums.com
2 codingforums.com
7 codingforums.com
9 codingforums.com
So it would end up reading:
ID DATA
1 codingforums.com
2 codingforums.com
3 codingforums.com
4 codingforums.com
Is there any way to condense down the primary key of a table if there are missing numbers?
For example, the primary key is a number from 1 to 100 and it has random numbers missing from rows being deleted.
ID DATA
1 codingforums.com
2 codingforums.com
7 codingforums.com
9 codingforums.com
So it would end up reading:
ID DATA
1 codingforums.com
2 codingforums.com
3 codingforums.com
4 codingforums.com