1. 首页
  2. 数据库
  3. SQLServer
  4. Microsoft SQL Server Query File

Microsoft SQL Server Query File

上传者: 2018-12-20 09:14:09上传 SQL文件 420B 热度 418次
建立数据库的表 ALTER TABLE student ADD s_birthday DATETIME; ALTER TABLE student ADD s_home char; ALTER TABLE student DROP column s_home; CREATE UNIQUE INDEX sname_index on student(sname); INSERT INTO student(sno,sname,ssex,sdept,sage,s_birthday) VALUES('2003125','aa','男','qs',18,'2001/12/20'); set dateformat mdy select* from student ALTER TABLE student ADD ssex char(2); ALTER TABLE student ADD sage char(4);
用户评论