on 2009 Sep 11 9:46 AM
Hello,
We are migrating from Microsoft SQLServer to MaxDB. One of the issues we encountered is support of Globally Unique IDentifiers, which are very common in SQLServer database.
1. How can we generate a new GUID in MaxDB's SQL and stored procedures, without passing it in from an external language (Java)? Is there an equivalent for SQLServer's NEWID() function?
2. What is the recommended data type for storing GUIDs? We currently use CHAR(36), but that is more than 2 times larger than the original 16 bytes.
Thanks,
Rares
Request clarification before answering.
Hi,
newguid or something named similar is not known in MaxDB.
If char (8) would be long enough, then the function STAMP could be helpful.
Elke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
8 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.