标签:
--判断数据中[TestTb]表中是否存在[Name]字段if exists(select * from TestDB..syscolumns where id=object_id(‘TestDB.dbo.TestTb‘) and name=‘Name‘) print ‘字段Name存在‘else print ‘字段Name不存在‘标签:
原文地址:http://www.cnblogs.com/yonguibe/p/4692702.html