• skcadavre (8/19/2010)


    Don't overly like.

    Off the top of my head: -

    DECLARE @caps VARCHAR(24),

    @lower VARCHAR(25),

    @numbers VARCHAR(8),

    @string VARCHAR(250)

    ...

    This isn't the first generator ever written, nor will it be the last. I just wanted to apply AD rules for password policy so password generation would pass before it was attempted. I'm going for slightly more elegant than banging a hammer on your keyboard, but less elegant than compiled code. There are many pathways. This is mine. I put in a lot of options because AD rules can be complex.