SQL 判断表或字段是否存在
摘要:
tPlayer 表名sName 字段名if object_id(N'tPlayer',N'U') is nullprint '不存在'else print '存在' IF NOT EXISTS(SELECT * FROM syscolumns WHERE [ID] = object_id(N'tP... 阅读全文
posted @ 2016-01-22 19:34 单行道的转角 阅读(338) 评论(0) 推荐(0) 编辑