First off I am not very knowledgeable on sql queries so please forgive me if this is a stupid mistake. What I'm trying to do is insert new rows into a table that have a specific key (the key column in this case is named "contact_uuid" w/ a data type of binary(16)). Here is the query I'm using to do the insert:INSERT INTO dbo.usp_contact (contact_uuid) VALUES (convert(binary(16),'0xFE7527485C73AC4787890D9FA138AA45'))
This completes with no errors. I then did a select query to make sure the insert was sucesfull, it returns a result but has the wrong id:SELECT contact_uuid FROM usp_contact WHERE contact_uuid = (convert(binary(16),'0xFE7527485C73AC4787890D9FA138AA45'))
returns: 0x30784645373532373438354337334143when I want it to return: 0xFE7527485C73AC4787890D9FA138AA45I don't know if one or both of my queries is incorrect. Any advice?