--判断数据库是否有相关表
if exists (select 1 from sysobjects where id = object_id(' 表名 ') and type = ' U ' );if exists (select 1 from sysobj
--判断数据库是否有相关表
if exists (select 1 from sysobjects where id = object_id(' 表名 ') and type = ' U ' );if exists (select 1 from sysobj