Epinephrine
03-13-2010, 01:36 AM
I'm sorry, but it was a little hard to explain in the title of the thread. However this is a more in-depth explanation:
I have a table named Test, and in that table I have a column (which is the primary key) named "cid".
Full Table:
Cid Slot1 Slot2 Slot3
I then insert a new row into the table with say these values:
1 "Test" "Test2" "Test3"
So currently I have a row with the values above inside of my table named Test.
The problem is, I want to be able to change the CID (via code), and I just wanted to be reassured that it is possible to set the value of a primary key after it has already been set without going straight into the database and doing it manually.
I have a table named Test, and in that table I have a column (which is the primary key) named "cid".
Full Table:
Cid Slot1 Slot2 Slot3
I then insert a new row into the table with say these values:
1 "Test" "Test2" "Test3"
So currently I have a row with the values above inside of my table named Test.
The problem is, I want to be able to change the CID (via code), and I just wanted to be reassured that it is possible to set the value of a primary key after it has already been set without going straight into the database and doing it manually.