Reputation: 89
At mssql I want concat ' and 1 string
Example: Concat ('My name',''')
Ouput : My name'
Upvotes: 2
Views: 32428
Reputation: 6193
Double-up the single quote character
Try this:
SELECT CONCAT('My name','''')
Ouput:
My name'
Upvotes: 10