I need to insert some string with ' in it, for example 'x.y.x', After some research I discovered the following syntax:
table_b.element = 'replace('x.y.x','',''')' the problem is that SQL Server gives me an error:
Unclosed quotation mark after the character string ')
How can I solve this case? I spent about 2 hours on this.
Is there an escape character that I need to use?