sql 系统表协助集合

一、判断字段是否存在:

select * from syscolumns where id=object_id('表') and name='字段'

posted @ 2015-08-04 11:03  KunSun  阅读(157)  评论(0编辑  收藏  举报