windows_programing
asked on
Random function/Sequence like field
Hi,
I am trying to figure out the best way to create a field that contains a randomly generated string. I'm currently using a sequence as a test for this field. I'd like to make this a bit more secure by adding a randomly generated 16 character string. I'm not sure how I would do this in plpgsql language. Any suggestions ? Thanks!
I am trying to figure out the best way to create a field that contains a randomly generated string. I'm currently using a sequence as a test for this field. I'd like to make this a bit more secure by adding a randomly generated 16 character string. I'm not sure how I would do this in plpgsql language. Any suggestions ? Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I like earthman2's function that allows me to specify the number of random characters.