how to cast uniqueidentifier to varchar code example Example: guid to string sql convert(nvarchar(50), {GuidColumnHere!})