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
It is possible to use the convert function here, but 36 characters are enough to hold the unique identifier value:
convert(nvarchar(36), requestID) as requestID