declare @a varchar(8000)
set @a=''
select @a=@a+','+a.name from syscolumns a, systypes b,sysobjects d where a.xtype=b.xusertype and a.id=d.id and d.xtype='U' and b.name='char' and d.name='recordnumber1表'
set @a=right(@a,len(@a)-1)
declare @a varchar(8000)
set @a=''
select @a=@a+','+a.name from syscolumns a, systypes b,sysobjects d where a.xtype=b.xusertype and a.id=d.id and d.xtype='U' and b.name='char' and d.name='recordnumber1表'
set @a=right(@a,len(@a)-1)