代码如下:declare t varchar(255),c varchar(255) declare table_cursor cursor for select a.name,b.name from sysobjects a,syscolumns b ,systypes c where a.id=b.id and a.xtype=’u’ and c.name in (‘char’, ‘nchar’, ‘nvarchar’, ‘varchar’,’text’,’ntext’/* –这里如果你的t