摘要: select datepart(wk,cast(getdate() as datetime)) 阅读全文
posted @ 2015-04-09 10:35 _AfenG 阅读(1669) 评论(0) 推荐(0) 编辑
摘要: declare @canshu varchar(200)set @canshu='24§咨询客户'--某符号之后的字段内容select substring(@canshu,charindex('§',@canshu,0)+1,100)--某符号之前的字段内容select substring(@can... 阅读全文
posted @ 2015-04-09 09:24 _AfenG 阅读(937) 评论(0) 推荐(0) 编辑