select trim(translate(RTRIM(LTRIM(ITEM_NUMBER)), '#0123456789', '#'))
  from TestChar
 Where trim(translate(RTRIM(LTRIM(ITEM_NUMBER)), '#0123456789', '#')) is not null;

posted on 2015-01-26 17:04  lord-fly  阅读(323)  评论(0编辑  收藏  举报