摘要: -创建数据库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 阅读全文
posted @ 2012-02-29 17:01 炒米饭 阅读(288) 评论(0) 推荐(0) 编辑