use pubs
IF EXISTS (SELECT name FROM sysobjects
WHERE name = 'titles' AND type = 'U')
print '存在表titles'
GO或if object_id('pubs..titles') is not null
print '存在表titles'如果还要其它的方式,那我就不知道了
IF EXISTS (SELECT name FROM sysobjects
WHERE name = 'titles' AND type = 'U')
print '存在表titles'
GO或if object_id('pubs..titles') is not null
print '存在表titles'如果还要其它的方式,那我就不知道了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货