Re: [SQL] Random Unique Id

2009-10-20 Thread Nahuel Alejandro Ramos
:D, Yeah, i know. Its only an example. We are using this algorithm to give a random unique Id to our clients. The need was to give a PK absolute independent of time. Thanks to Ivan, for the pseudo-random posted, I am looking it. Regards... Nahuel Alejandro Ramos. On Tue, Oct 20, 2009 at 5

Re: [SQL] Random Unique Id

2009-10-20 Thread Nahuel Alejandro Ramos
Yes. I looked this solution but it is not a "only numbers" ID. I would like a random unique "number" Id. For example: generate a credit number randomly (like the example I post). I used to insert an MD5 field but this time I need "only numbers" Id. Regards...

[SQL] Random Unique Id

2009-10-20 Thread Nahuel Alejandro Ramos
x27;); It is my first post so sorry about the format of the SQL Dump and sorry about my english. Note: there is a second function that calculate a verification number like an argentinian code called CUIL (only available for 10 digits numbers) Regards Nahuel Alejandro Ramos.