牛首山下

2010年8月22日

[sql] SQL Server判断对象是否存在

摘要: 来源:http://www.jiaonan.tv/html/blog/1/27227.htm1 判断数据库是否存在Sql代码 if exists (select * from sys.databases where name = ’数据库名’) drop database [数据库名] if exists (select * from sys.databases wher... 阅读全文

posted @ 2010-08-22 09:28 牛首山下 阅读(971) 评论(0) 推荐(0)

导航