2009年12月11日

摘要: 例如表Aid data1 A1 B1 C2 D2 F转换成表B1 A+B+C2 D+Esmerg是自定义函数创建一个函数smerg:create function smerg(@id int)returns varchar(8000)asbegindeclare @str varchar(8000)set @str=''select @str=@str+','+name from 表A where... 阅读全文
posted @ 2009-12-11 13:10 J-Pei 阅读(227) 评论(0) 推荐(0) 编辑

导航