格式:
select substr(replace(需要截取字符串的字段信息,'*','-'),1,instr(replace(需要截取字符串的字段信息,,'*','-'),'-',-1)-1) 值 from DUAL;
例子
select substr(replace(PIECE_SPEC,'*','-'),1,instr(replace(PIECE_SPEC,'*','-'),'-',-1)-1) 值 from DUAL;