摘要: 1 判断数据库是否存在 if exists (select * from sys.databases where name = '数据库名') drop database [数据库名] 2 判断表是否存在 if exists (select * from sysobjects where id = object_id(N'[表名]') and OBJECTPROPERTY(id, N'I... 阅读全文
posted @ 2019-08-13 09:29 穷且益坚不坠青云之志 阅读(266) 评论(0) 推荐(0) 编辑