中国石凳联盟 登录注册

删除原表主键、字段,修改字段等SQL语句

rj45··10 回复·592 浏览

发表回复
--1. 删除原主键
alter table uinfor
drop constraint PK_uinfor

--2. 删除字段
alter table uinfor
drop column u_id
--3. 添加字段
alter table uinfor
add u_note varchar(1) NULL
--4. 修改字段
ALTER TABLE uinfor
ALTER COLUMN u_key VARCHAR(18) NOT NULL
--5. 添加新主键
alter table uinfor
add primary key(u_key ,u_name )
Being a devil is the same as being a human. We should be kind. If we are kind, we are not a devil, we are a hybrid.
点赞0 收藏
当然是听yngwie的Unleash The Fury爽,你看名字都叫释放狂怒(查金山理解的大概意思),速度呀,爽

Being a devil is the same as being a human. We should be kind. If we are kind, we are not a devil, we are a hybrid.
点赞0 收藏
你这样不打字是不对的
Being a devil is the same as being a human. We should be kind. If we are kind, we are not a devil, we are a hybrid.
点赞0 收藏
要流鼻血才行
Being a devil is the same as being a human. We should be kind. If we are kind, we are not a devil, we are a hybrid.
点赞0 收藏
能听歌听到流B血不容易呀
Being a devil is the same as being a human. We should be kind. If we are kind, we are not a devil, we are a hybrid.
点赞0 收藏
金银花烘干房创新技术;金银花烘干房太阳能热泵烘干设备投资少、金银花烘干房服务保障,太阳能烘干机运行费用少;金银花烘干房提高烘干品质。金银花烘干房高效金银花烘干房http://www.whb360.com/picture01/gaowen/013.jpg
高效金银花烘干房 太阳能烘干机热泵烘干机提高烘干品质http://www.whb360.com/drying133.htm 金银花烘干房 太阳能热泵烘干房适用范围广:可广泛适用于食品、农产品、水产品、海产品、化工、矿石、化肥、污泥、煤泥、蚊香、医药、中药材如菊花金银花各种中草药、纸品、皮革、木材、农副产品加工(如腊肠、腊肉、腊鱼、腐竹、香菇、木耳、水果、蔬菜罗卜、烟草)等干燥烘干作业。太阳能烘干机配套气流干燥应用特点:广泛地用于化工、医药、建材等行业的粉状、颗粒状物料的干燥。已用该系列干燥过的产品有:淀粉、葡萄糖、鱼粉、砂糖、食糖、酒槽、饲料、面筋、塑料树脂、煤粉、染料等。


点赞0 收藏
发表回复
发表回复