level 3
函数在此:
create or replace function first_digit(v_char varchar2)
return Boolean IS
BEGIN
IF(substr(v_char,1,1) IN (*0*,*1*,*2*,*3*,*4*,*5*,*6*,*7*,*8*,*9*)) THEN
RETURN true;
ELSE
RETURN false;
END IF;
EXCEPTION
WHEN OTHERS THEN
RETURN false;
END;
2014年08月06日 06点08分
1
level 3
select (case when first_digit(*jile*) then 1 else 0 end) t from dual
ORA-00920: 无效的关系运算符
2014年08月06日 06点08分
2
level 3
select * from employee where first_digit(*5seo*)
同样的报错
2014年08月06日 06点08分
4