SQL Server数据库DML操作
补充:
1.删除数据库:
例子:drop database 学生数据库
2.删除表
例子:drop table 学生表
1.在表中增加数据
例子:
insert into学生表(学号,姓名,性别,出生日期,政治面貌) values(43,'yyw','男','2000-7-5,'党员'');
2.在表中更改数据
例子
update 学生表 set 姓名='yyh' where 学号=43;
3.在表中删除数据
例子
delete from 学生表 where 学号=43;
delete from 学生表;