Escape Character in SQL Server

前端 未结 9 1412
时光取名叫无心
时光取名叫无心 2020-11-29 03:22

I want to use quotation with escape character. How can I do?

I have received error in SQL Server

Unclosed quotation mark after the character strin

9条回答
  •  执笔经年
    2020-11-29 03:44

    Escaping quotes in MSSQL is done by a double quote, so a '' or a "" will produce one escaped ' and ", respectively.

提交回复
热议问题