Hello everyone,
For example, I have a table like this and an index with UNIQUE type is set to Make with name MAKE.
ID Make Model
1 AGCO test1
2 AGCO test2
3 AXIAL test3
4 AXIAL test4
If I do a command "SET ORDER TO MAKE", the result is:
ID Make Model
1 AGCO test1
2 AXIAL test3
But if I delete the first record with ID = 1, then I run the command again "SET ORDER TO MAKE", the result is changed to:
ID Make Model
2 AXIAL test3
Should it still have the result like this even though first record ID= 1 is deleted. I need to have the result below. Note: I need to have "SET DELETED ON" in this case:
ID Make Model
2 AGCO test2
3 AXIAL test3
Does anyone know what's wrong with this UNIQUE type of index and why it gave the wrong result if the first record of each Make type is deleted? Any help is appreciated. Thank you
For example, I have a table like this and an index with UNIQUE type is set to Make with name MAKE.
ID Make Model
1 AGCO test1
2 AGCO test2
3 AXIAL test3
4 AXIAL test4
If I do a command "SET ORDER TO MAKE", the result is:
ID Make Model
1 AGCO test1
2 AXIAL test3
But if I delete the first record with ID = 1, then I run the command again "SET ORDER TO MAKE", the result is changed to:
ID Make Model
2 AXIAL test3
Should it still have the result like this even though first record ID= 1 is deleted. I need to have the result below. Note: I need to have "SET DELETED ON" in this case:
ID Make Model
2 AGCO test2
3 AXIAL test3
Does anyone know what's wrong with this UNIQUE type of index and why it gave the wrong result if the first record of each Make type is deleted? Any help is appreciated. Thank you