"Megalex" <megalex@klanomega.com> writes:
> Insert Into table(userID,FirstName,LastName) values(1,'''\''','test')
You're not counting/escaping your quotes correctly. That literal is
unterminated:
' opening quote
'' quoted quote (to put a quote in the string)
\' escaped quote (another way to do the same)
'' quoted quote
oops you're still inside the literal
I don't know what combination of quotes and/or backslashes you actually
meant to insert, but this command is wrong.
regards, tom lane