时间:2021-07-01 10:21:17 帮助过:4人阅读
if DB_ID(‘testdb‘) is not null -- 如果这个数据库已经存在了
drop database testdb;
create database testdb;
if OBJECT_ID(‘dbo.user‘,‘u‘) is not null
drop table dbo.user;
create tablet dbo.user(......);
SQL Server 判断数据库是否存在,表是否存在
标签:
< 上一篇
unity, 不要试图用rigidbody.Sleep()停止rigidbody
下一篇 >
Oracle下的IF EXISTS()
记住我的登录 忘记密码?
登录
我已阅读用户协议及版权声明
注册