获取SQL Server数据库表的列名

 SELECT syscolumns.name,systypes.name,syscolumns.isnullable,syscolumns.length

FROM syscolumns, systypes

WHERE syscolumns.xusertype = systypes.xusertype AND syscolumns.id = object_id('ChildrenCustomer') and syscolumns.name like '%obile'

posted on 2013-10-12 11:18  骑蟋蟀的蝈蝈  阅读(120)  评论(0编辑  收藏  举报

导航