![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Sql Service
文章平均质量分 67
Vlan_随风
这个作者很懒,什么都没留下…
展开
-
函数和游标
if exists(select 1 from sysobjects where id=object_id('St_FunPostDayTimeout')) drop Function St_FunPostDayTimeout go Create Function St_FunPostDayTimeout() returns varchar(2000) as原创 2013-07-15 23:27:18 · 595 阅读 · 0 评论 -
Sql转意拼接
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) +(ca原创 2013-07-15 23:30:32 · 534 阅读 · 0 评论