How would I run the procedure below in SQL+?
function get_password(v_account in varchar2) return varchar2;
function get_password(v_account in varchar2) return varchar2
is
results varchar2(70);
cursor c is select password from cascade.cxml_user where username=v_account;
begin
open c;
fetch c into results;
close c;
if results is null then
return get_password('default');
else
return results;
end if;
end;
function get_password(v_account in varchar2) return varchar2;
function get_password(v_account in varchar2) return varchar2
is
results varchar2(70);
cursor c is select password from cascade.cxml_user where username=v_account;
begin
open c;
fetch c into results;
close c;
if results is null then
return get_password('default');
else
return results;
end if;
end;