DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 23

Thread: code to check the password at least one upper case letter

Threaded View

  1. #19
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    The way to test the function is

    Code:
    set serveroutput on
    
    begin
    if trina_verify_function('TRINA','trina_55555555555','trina') then
      dbms_output.put_line('True');
    else
      dbms_output.put_line('False');
    end if ;
    end ;
    
    /
    
    begin
    if trina_verify_function('TRINA','trinA_5555555555', 'trina')
     then
      dbms_output.put_line('True');
    else
      dbms_output.put_line('False');
    end if ;
    end ;
    
    /
    and not by running

    select trina_verify_function('TRINA','trinA_5555555555', 'trina')
    from dual

    23 if regexp_instr('password','regular_expr') > 0 THEN
    is wrong it shoud read instead

    if regexp_instr(password,regular_expr) > 0 THEN
    Last edited by hrishy; 10-20-2009 at 10:39 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width