/ Published in: SQL
Create a random password using a Dictionary database table. Selects a random word, and then appends two random numbers to the end, creating passwords in the form of: foozling98 or laicism11
Expand |
Embed | Plain Text
SELECT Top 1 word + cast(cast((RAND() * 9)+1 AS int) AS varchar(3)) + cast(cast((RAND() * 9)+1 AS int) AS varchar(2)) AS Password FROM dictionary ORDER BY newid()
You need to login to post a comment.
