摘要:
-创建数据库if exists(select * from sysdatabases where name=N'master..test')drop database testcreate database test--创建存储过程(法1)if exists(select * from sysobjects where name=N'proc_name' and type='p')drop proc proc_namecreate proc proc_nameasselect * from table_name--创建存储过程(法2)if exi 阅读全文