select 
substr('1001.2009.233.11.332.1',1,instr('1001.2009.233.11.332.1','.',1,1)-1) 
from dual;

  

posted on 2012-02-20 15:20  小波Ooo  阅读(170)  评论(0编辑  收藏  举报