1、第一步,打开SQL Server数据库,出现以下界面

3、第三步,建立了一个新的项目后,在其页面写use master --开始使用数据库系统的数据库
4、第四步,建立一个新的数据库if exists(select * from sysobjects where name='SqlDateBase')--判断SqlDateBase这个数据库是否存在drop database SqlDateBase--删除SqlDateBase这个数据库

6、第六步:建表go --批处理if exists(select * from sysobjects where name='SqlTable')--判断SqlTable这个数据表是否存在drop table SqlTable--删除SqlTable这个数据表

8、最后一步,新建一个库和表的语法就完成了。