首页 > 技术文章 > sql判断表是否已经存在

xsj1989 原文

if (object_id(N'td_VipExchangeCodeInfo',N'U') is not null)
print '存在'
else
print '不存在'

推荐阅读