摘要: --1.新建自定义函数:从最后一个特定字符开始截取字符串createfunctionfn_GetLastCharIndex(@Charsvarchar(1000),@Charvarchar(10))returnsvarchar(1000)begindeclare@iintset@i=CharIndex(@Char,@Chars)while(@i>0)beginset@Chars=Substring(@Chars,@i+1,len(@Chars))set@i=CharIndex(@Char,@Chars)endreturn@Charsend--2.获取文件名列表ifexists(selec 阅读全文
posted @ 2011-07-26 11:19 tohen 阅读(680) 评论(1) 推荐(0) 编辑