if exists(select * from sysdatabases where name = '数据库名称')
drop database 数据库名称
SqlServer数据库已存在,一串代码轻松解决
最新推荐文章于 2024-02-17 18:34:07 发布
if exists(select * from sysdatabases where name = '数据库名称')
drop database 数据库名称