1.sqlcmd用Sa登陆
![](2519ca94-18ae-4316-813f-670ad8ffc6ac_files/1.jpg)
2.windows登陆
![](2519ca94-18ae-4316-813f-670ad8ffc6ac_files/2.jpg)
启动mssqlserver
net start mssqlserver
![](2519ca94-18ae-4316-813f-670ad8ffc6ac_files/3.jpg)
insert into message values(2,'test','test');
delete from message where id=2;
update message set username='cw'where id=2;
select * from message;
insert into message values(2,'test','test');
delete from message where id=2;
update message set username='cw'where id=2;
select * from message;