Sql转意拼接
来源:互联网 发布:联通和电信的网络制式 编辑:程序博客网 时间:2024/05/01 01:29
GetWorkPosName
select b.ID,((select OrganizationName from :EOPDBName..vw_All_Organization c where c.ID=b.OrgID)+'_'
+(case when b.GrpName is null then '' else b.GrpName+'_' end)
+(case when b.BudName is null then '' else b.BudName+'_' end)
+(case when b.UnitNo is null or b.UnitNo='' then '' else b.UnitNo+'_' end)
+(case when b.ResCode is null then '' else b.ResCode end)) as BudCode from RCR a inner join House b on a.ResID=b.ID where a.CstID=@CstID and b.OrgID=@OrgID
GetWorkPos
select ((select OrganizationName from :EOPDBName..vw_All_Organization c where c.ID=b.OrgID)+'_'
+(case when b.GrpName is null then '' else b.GrpName+'_' end)
+(case when b.BudName is null then '' else b.BudName+'_' end)
+(case when b.UnitNo is null or b.UnitNo='' then '' else b.UnitNo+'_' end)
+(case when b.ResCode is null then '' else b.ResCode end)) as BudCode from RCR a inner join House b on a.ResID=b.ID where b.ResCode=@ResCode and b.OrgID=@OrgID
- Sql转意拼接
- 拼接sql
- SQL 拼接
- SQL拼接
- SQL拼接
- sql 拼接
- SQL拼接
- 技巧-----sql语句拼接
- SQL字符串的拼接.
- 拼接sql语句
- SQL Server 拼接字符串
- SQL语句拼接。。。
- sql server 拼接字符串
- sql语句拼接
- sql函数拼接字符串
- sql 拼接xml
- 常见SQL(字符串拼接)
- SQL拼接大法
- poj 2528
- Lua程序设计笔记之七: lua与c互调
- TDD表达式再次实现(待完善)
- ubuntu tftp
- linux下的shell 快捷键
- Sql转意拼接
- 【详细贴】Ubuntu Linode搭建海外策略路由VPN IPSec+L2TP(一)
- wget命令镜像网站
- mysql 外键问题
- 创建外部表例子
- Tomcat 集群配置 Session共享
- 极小化问题与负梯度方向
- Struts2注解零配置
- Ubuntu备忘