有关修改表结构,在线...
在Sybase ASE12_0 for sun,中能否将某表中为int型字段,修改为numeric(18,0)型default 为indentity值,如能请给出sql语句。thanks...
可以修改的。
isql -Usa -P
>sp_dboption dbname(你的用户数据库名字),'select into',true
>go
>use dbname
>go
>checkpoint
>alter table tab_name(要修改的表) modify field_name(要修改的字段名)
numeric(18,0)
>go
>quit
ok