How to select a column of type uniqueidentifier when I have a pointer?
I tried to do the following:
SELECT * FROM MyTable WHERE id = '442402e-207d-b012-4b60-005056c00123' and SELECT * FROM MyTable WHERE id = '{442402e-207d-b012-4b60-005056c00123}'
Both give me the same error: Error converting varchar data type to uniqueidentifier.
sql sql-server
dev.e.loper
source share