use EMIS
go
alter table t_student
add phone varchar(12) --增加字段phone
go
alter table t_student
alter column birthday date --修改字段birthday的数据类型改为date
go
EXEC sp_rename --重命名字段qq_num
't_student.qq_num',
'wechat_num',
'column'
go
alter table t_student
drop column interest --删除字段interest
go
SQL server 数据库 修改学生数据表
最新推荐文章于 2023-01-05 19:17:18 发布