All pastes #142688 Raw Edit

Someone

public text v1 · immutable
#142688 ·published 2006-08-21 16:50 UTC
rendered paste body
CREATE OR REPLACE FUNCTION f1(v1 IN varchar2) 
   RETURN number
IS
  N1  number;
BEGIN
  N1:= to_number(v1);

  RETURN 1;

EXCEPTION
  when others then
     RETURN 0;
END