insert into test values (123, 9876.5432, 'Isn[red]'[/red]'t this fun!');
[gray]-- or[/gray]
insert into test values (123, 9876.5432, 'Isn[red]\[/red]'t this fun!');
Double quotes are for identifiers, not for values.
Passed through what ? In which language is written your application ? In some languages already exists quoting functions. But the correct way ( although I dislike it ) is to use parameters.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.