The page "Constants (Transact-SQL)" (http://msdn.microsoft.com/en-us/library/ms179899.aspx), indicates that binary strings can also represent a uniqueidentifier:uniqueidentifier constants are a string representing a GUID. They can be specified in either a character or binary string format. The following examples both specify the same GUID: '6F9619FF-8B86-D011-B42D-00C04FC964FF' 0xff19966f868b11d0b42d00c04fc964ff
↧