2016年3月21日

MSSQL sql常用判断语句

摘要: 1、判断数据库是否存在 if exists (select * from sys.databases where name = '数据库名')drop database [数据库名] 2判断表是否存在 IF NOT EXISTS(SELECT* FROMsysobjects ... 阅读全文

posted @ 2016-03-21 09:35 LeLe.xu 阅读(5201) 评论(0) 推荐(0) 编辑

导航