sql语句substring 用法,sql语句substring
分享于 点击 42322 次 点评:209
sql语句substring 用法,sql语句substring
select t.OperationLog,case when charindex('ID为',t.OperationLog)>1 then
SUBSTRING(t.OperationLog,
charindex('ID为',t.OperationLog)+3
,charindex(')',t.OperationLog)-charindex('ID为',t.OperationLog)-3)
end ,
t.CreatePersonId,
t.* from PaymentOrder t where t.UpdateDate>'2016-1-1'
相关文章
- 暂无相关文章
用户点评