haitao: 以前讨论过的啊,记得是李战做过总结的 [阅读: 329] 2008-12-14 07:47:47 好像是 declare @s varchar(8000) select @s=@s+','+f1 from tb select @s