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. #18
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    please... please... look at the code!

    You are going to give hrishy a heart attack.

    here is what you coded...
    Code:
    23 if regexp_instr(password,regular_expr) > 0 THEN
    24 -- raise_application_error(-20006, 'Password must contain at least one upper case letter.');
    25 return true;
    26 end if;
    27 -- if everything is fine return false.
    28 RETURN (false);
    ... does it makes sense to you?
    Last edited by PAVB; 10-20-2009 at 08:17 PM.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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