1:alter table 表名 add 字段名 字段类型
2:alter table 表名 drop column 字段名
2:alter table 表名 drop column 字段名
解决方案 »
- 数据导出导入指教
- SQLSERVER2005中,如何把某个表的字段名称和字段类型 插入到另外的一个表中
- 查询中返回常量的表达式最好先计算出结果再进行查询color=#FF0000][经验分享][/color]
- 如何去掉这样的重复记录?
- 请问这是什么错误,该怎么解决
- 由两个表创建一个新的视图的问题。
- 访问链接服务器时,提示7302错误,为什么?Non-interface error: CoCreate of DSO for SQLOLEDB returned 0x80004002
- ??????????
- 为什么我的SQL服务运行一段时间后就变得很慢了?
- 自己电脑不能连1433端口,什么原因呀?
- 会用log explorer的请帮忙,update 后的数据如何恢复
- 请问:卸载sql server2000后重装,安装到一半启动服务时出错,提示安装失败!
alter table 表名 add id int identity(1,1)
alter table 表名 drop column id
alter table 表名 drop column id