判断表是否存在,存在则删除表

if exists (select 1 from sysobjects where id = object_id('psintroduction') and type = 'U')
drop table psintroduction
go
要判断的表
psintroduction
原文地址:https://www.cnblogs.com/xh831213/p/647883.html