We have a log table that has a message column that sometimes has an exception stack trace. I have some criteria that determines if the message has this. We do not want to sh
In my opinion, uniqueidentifier / GUID is neither a varchar nor an nvarchar but a char(36). Therefore I use:
uniqueidentifier
varchar
nvarchar
char(36)
CAST(xyz AS char(36))