学习ING
摘要: 先移转,再查询SELECT case when charindex('12',s) =0 then 0 else length(s)-charindex(reverse('12'),reverse(s)) end AS lastIndexOf, s FROM t;利用存储过程,一个个找:set ANSI_NULLS ONset QUOTED_IDENTIFIER ONGOCREATE FUNCTI... 阅读全文
posted @ 2009-11-27 19:49 祝雄锋 阅读(5845) 评论(1) 推荐(0) 编辑