随笔分类 -  SQL

摘要:库是否存在if exists(select * from master..sysdatabases where name=N'库名')print 'exists'elseprint 'not exists' 判断要创建的表名是否存在if exists (select * from dbo.sysob 阅读全文
posted @ 2018-12-29 13:50 雏燕南飞 阅读(617) 评论(0) 推荐(0)