素衣清颜淡若尘

sqlserver判断库是否存在

电脑版发表于:2022/1/25 16:56

code:

if db_id('数据库名') is not null
 drop database ...
go
 create ...


关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
{{item.replyName}}
{{item.content}}
{{item.time}}
{{subpj.replyName}}
@{{subpj.beReplyName}}{{subpj.content}}
{{subpj.time}}
猜你喜欢