Hi people!
I’m trying to figure out how to create a varbinary(16) id column in which I wanna insert a random UUID value. Is it possible to create a custom id generator, or something that solves this issue?
Thanks in advance
Hi people!
I’m trying to figure out how to create a varbinary(16) id column in which I wanna insert a random UUID value. Is it possible to create a custom id generator, or something that solves this issue?
Thanks in advance
Depending on your database, there are sometimes SQL commands to generate UUID’s. I’m not sure when you are wanting the ids generated. As part of a loadData or change?
Nathan
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Problems with Generated SQL using Postgres, UUIDs, <createTable>, and <column> | 0 | 2329 | January 5, 2010 | |
| Generate_UUID() | 1 | 2418 | March 19, 2013 | |
| Proposal: add defaultValueBinary attribute on column tag | 1 | 382 | April 25, 2011 | |
| SQL 2008 and varbinary | 3 | 356 | September 2, 2010 | |
| mssql: insterting data into identity column | 1 | 1134 | June 2, 2009 |