Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/04/2012, 11:56
danna70
 
Fecha de Ingreso: abril-2012
Mensajes: 4
Antigüedad: 12 años
Puntos: 0
Respuesta: Funcion plsql

Me orientais??? U.U

create or replace function BANCOS_VERIFY_PASSWD (password VARCHAR2(10))
return varchar2
is
long NUMBER;
begin
password:='';
long := LENGHT(password);
if long<=5 then
DBMS_OUTPUT.PUT_LINE("La contraseña debe tener mas de 6 caracteres");
else DBMS_OUTPUT.PUT_LINE("contraseña creada");
end if;
return password;
end;