|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Insert into autoincrement
I have a unique, auto incremented field I am using for sorting purposes. I need to be able to change this sort field in a given row to the sort value of another row. Since this field needs to be unique i need the old sort field incremented by one and all the rows with a sort field greater than the sort field to be incremented by one as well. I can do this progammatically but I was hoping MSSQL had something similar built in...
I have searched this forum as well as a couple others and could not find an answer. |
|
#2
|
||||
|
||||
|
RE: Insert into autoincrement
I don't think it's possible to change auto-increment fields in the way you want to. Can you not create another column and manipulate that?
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > Insert into autoincrement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|