![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#3
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#4
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#5
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#6
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#7
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#8
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#9
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
#10
| |||
| |||
|
|
Ultralite 10.0.1.3579 I have a temporary table which has an autoincrement field. When i insert, say 100 records, to the table, the autoincrement climbs to 100. Now after i use the temp table, i need to clear it out and it will be nice if i could somehow rewind the autoincrement back to start from 1. Is there a way to do this? I can drop the table and recreate it to get the autoincrement ids to rewind, but i am guessing it would be better performance wise to touch a system table and reset it. TIA Priyesh |
![]() |
| Thread Tools | |
| Display Modes | |
| |