create function getStr(@s nvarchar(4000)) returns nvarchar(500)
          as
          begin
           declare @i int
           while patindex('%[^0-9,^a-z,^A-Z,^阿-座,^'+char(32)+']%',@s)>0
           begin
             set @i=patindex('%[^0-9,^a-z,^A-Z,^阿-座,^'+char(32)+']%',@s)
             set @s=stuff(@s,@i,1,' ')
           end
           set @s=replace(@s,'^','')
           set @s=replace(@s,' ','')
           return @s
           end
          posted on 2013-11-01 15:06 sanmao 閱讀(2521) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 泰宁县| 新营市| 涪陵区| 报价| 望谟县| 酒泉市| 萨嘎县| 阜阳市| 揭西县| 阳高县| 卫辉市| 乃东县| 顺平县| 巫溪县| 英山县| 德兴市| 嘉定区| 商河县| 新晃| 崇左市| 秦皇岛市| 舞钢市| 凌源市| 卢氏县| 德格县| 隆回县| 丹阳市| 同仁县| 循化| 抚远县| 石城县| 乌海市| 剑阁县| 塘沽区| 贵州省| 新河县| 黎川县| 察雅县| 武乡县| 蒙城县| 绥阳县|