sql server - how to concatenate uniqueidentifier in a dynamic query -


I have a dynamic query in which I want to add uniqueidentifier, but + and & amp; Operators are not supporting this, there is a way I can add uniqueidentifier to a dynamic string. Any sample or any assistance in this regard will be highly disciplined.

Do you cast or do a string first, then concate?

  NVARAR (36) as CAST (NEWID)  

Comments