| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Ray | Date: | October 16 2009 3:43pm |
| Subject: | insert random number into table | ||
| View as plain text | |||
Hello All, I am trying to insert a unique random number* with each row when inserting into a table. I can do it in the application layer (php) but just wondering if there is an easier way in the database layer. Thanks Ray * for example, when registering a person for a contest, I want to give them a unique, random identifier.
| Thread | ||
|---|---|---|
| • insert random number into table | Ray | 16 Oct |
| • RE: insert random number into table | Jerry Schwartz | 16 Oct |
| • Re: insert random number into table | Ray | 16 Oct |
| • RE: insert random number into table | Jerry Schwartz | 16 Oct |
| • Re: insert random number into table | Scott Haneda | 16 Oct |
| • RE: insert random number into table | Jerry Schwartz | 19 Oct |
| • Re: insert random number into table | Ray | 17 Oct |
| • RE: insert random number into table | Gavin Towey | 16 Oct |
| • Re: insert random number into table | Scott Haneda | 16 Oct |
