I have 2 ASE Server. One is for live, one is for dev.
There is a table mytab, which lock type is DataPage. I want to change it to DataRow.
On dev server, I use tool to get the script to change the type is simple. like:
USE mydb
go
setuser 'dbo'
go
alter table mytab lock DATAROWS
go
but on live production, I get the script is different. It is trying to delete all pk, fk, sp, trigger related to mytab and create a another table mytab23434,....
What is the reason why it create a so messy script only for change the lock type.
So I want to know if it is safe just run alter table mytab lock DATAROWS on live.
If I use Sybase central and try to get the script to change lock type on both dev and live, they are simple and same:
USE mydb
go
setuser 'dbo'
go
alter table mytab lock DATAROWS
go
Because I am going to do it on live. So want to confirm it is safe just to run:
alter table mytab lock DATAROWS