死耗子

导航

SQL Server中判断表对象是否存在

select count(*) from sysobjects where id = object_id('数据库名.Owner.表名')

posted on 2011-03-22 10:26  死耗子  阅读(71)  评论(0)    收藏  举报