SqlServer2005 合并两个字符串的方法
来源:互联网 发布:java mvc框架理解 编辑:程序博客网 时间:2024/05/23 13:36
select distinct * from
(
select ijo_no,pmat_name,pmat_id=stuff((select '/'+pmat_id from (select * from @addTable ) a where a.ijo_no=b.ijo_no and a.pmat_name=b.pmat_name and a.qty=b.qty for xml path ('')),1,1,''),qty from @addTable b
--where b.ijo_no='HLI110101143-1A'
) a
(
select ijo_no,pmat_name,pmat_id=stuff((select '/'+pmat_id from (select * from @addTable ) a where a.ijo_no=b.ijo_no and a.pmat_name=b.pmat_name and a.qty=b.qty for xml path ('')),1,1,''),qty from @addTable b
--where b.ijo_no='HLI110101143-1A'
) a
0 0
- SqlServer2005 合并两个字符串的方法
- 两个合并两个字符串的稳定算法
- 合并两个字符串的重叠部分
- 合并两个字符串
- 合并两个字符串
- Path.Combine (合并两个路径字符串)方法的一些使用细节
- Path.Combine (合并两个路径字符串)方法的一些使用细节
- Path.Combine (合并两个路径字符串)方法的一些使用细节
- Path.Combine (合并两个路径字符串)方法的一些使用细节
- Path.Combine (合并两个路径字符串)方法的一些使用细节
- Python合并两个列表的方法
- C#合并两个Dictionary的方法
- 合并两个有序单链表的递归方法
- js中合并两个数组的方法
- js 合并两个 数组的常用方法
- JS合并两个数组的方法
- js合并两个数组的方法
- SQLServer2005 数据项的分拆与合并
- ORA-04091和Compound Trigger(Oracle 11g)
- Jquery 基本使用
- LeetCode Minimum Path Sum
- Linux 常用函数——memcpy函数
- 16--2--2指针变量交换
- SqlServer2005 合并两个字符串的方法
- DXSDK_Jun10安装错误解决!/directX安装错误
- 我心中的计算机学科(二)
- 十六进制数组转换为浮点计算方法两种算法
- Nutch读取网页字段
- SQL语句容易出现错误的地方-连载
- ubuntu suse下让vim支持+y剪切板
- Oracle Query Result Cache
- Android学习---解决Android Graphical Layout 界面效果不显示