Tuesday, 10 September 2013

Random unique identifiers with namespace for PostgreSQL

Random unique identifiers with namespace for PostgreSQL

I want to generate random unique IDs like (using Perl); XYZ2345672,
ABC0098321, LMN_G8732415
Pattern is <prefix><[0-9]{7}>
I have 5 such prefix. How can I go about this? Thanks

No comments:

Post a Comment