I am trying to cast a string and a column value concatenated with the following sql commant:
CAST('Strign:'+[KlirAn] as NVARCHAR(max))
After executing this command i get the following error:
Msg 402, Level 16, State 1, Line 1
The data types varchar and ntext are incompatible in the add operator.
Any help please?
Try the following:
'String:'+ CAST([KlirAn] as NVARCHAR(max))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With