标签:pre use sql查询 sql span suse class objects 存在
IF NOT EXISTS ( SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N‘[表名]‘) AND OBJECTPROPERTY(id, N‘IsUserTable‘) = 1 ) begin SELECT ‘不存在‘ END ELSE BEGIN SELECT ‘存在‘ end
标签:pre use sql查询 sql span suse class objects 存在
原文地址:https://www.cnblogs.com/dzw159/p/9803400.html