sybase 中可以对现有的表结构进行增加

sybase 中可以对现有的表结构进行增加,修改(可以增大长度,也可以减少,在oracle中
只能增大),删除(在oracle中不容许)
alter table add  ... (增加)
alter table modify ... (修改)
alter table drop ...  (删除)
比如:
alter table ABC add a1 varchar(10) null,a2 numeric(10) null,....
alter table ABC modify a1 varchar(20) null,a2 numeric(5) null,...
alter table ABC drop a2

posted on 2008-09-03 08:40  Sanle  阅读(321)  评论(0编辑  收藏  举报

导航