Declare @S Nvarchar(4000)Set @S=''--Select @S=@S+','+Name from SysColumns Where ID=OBJECT_ID(N'Tb_Article')--Select @S=Stuff(@S,1,1,'')--Select @S
原文转自:http://www.ltesting.net