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  阅读(180)  评论(0)    收藏  举报