GUID type in database

Posted by 5YrsLaterDBA on Stack Overflow See other posts from Stack Overflow or by 5YrsLaterDBA
Published on 2010-03-30T19:09:25Z Indexed on 2010/03/30 19:13 UTC
Read the original article Hit count: 681

Filed under:
|

GUID is not an official data type in database. In our existing SQL Server design, the Uniqueidentifier type is used for GUID value. Now we are switching to Sybase database. Should we use varchar(36) to replace that Uniqueidentifier type?

I am still confused by GUID. I was told GUID is 16 bytes long but its character string is 36 characters in length. I must missed something.

© Stack Overflow or respective owner

Related posts about database

Related posts about database-design