I have a table mytab(id, c1,c2,c3,....)
id is key.
c3 is int.
Then I change c3 to identity column.
The all data in mytab is gone and ASE create another table like mytab_03202030
mytab no no data,
mytab_03202030 has the original data, but when I try to select * from mytab_03202030, I get nothing.
then I try select count(*) from mytab_03202030, I get right rows, like 1200.
Then I rename mytab to mytab_1, rename mytab_03202030 to my_tab and run select as:
select * from mytab -- I got nothing.
select count(*) from mytab -- I got 1200
then I create a table mytab_test with same structure and move data to this table:
insert into my_tab_test
select * from my_tab
the run select * from mytab_test, it is fine. I can see all rows.
but I try to rename mytab_test to my_tab and run select * from mytab again, no output.
Not sure what's wrong. my ASE is 12.5.4.
help please.