|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
resetting an autoincrement field
Does anybody have an idea of how to reset an autoincrement field in a mysql table. I mean suppose i have 20 records..So that new records get 21 as autoincrement value.Now I delete first 10 records.Is there any way that the remaining records adjust so that new records go at 11 instead of 21.
|
|
#2
|
|||
|
|||
|
Look at DBCC CHECKIDENT in books online
|
|
#3
|
|||
|
|||
|
What does books online refer to? Pls suggest where to look DBCC CHECKIDENT for?
|
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > resetting an autoincrement field |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|