找出所有字段 1 select a.name as columnname,object_name(a.id)as tablename into t from syscolumns a, sysobjects b, systypes c where a.id=b.id and a.xtype=c.xtype and b.xtype='u' and c.name in('varchar','nvarchar','char','nchar','text','ntext') and object_nam…