Ingres SQL Injection Cheat Sheet Saturday, July 7th, 2007 Ingres seems to be one of the less common database backends for web applications, so I thought it would be worth installing it and making some notes to make my next Ingres-based web app test a little easier. SQL Injection Based on Batched SQL Statements . Most databases support batched SQL statement. A batch of SQL statements is a group of two or more SQL statements, separated by semicolons. The SQL statement below will return all rows from the "Users" table, then delete the "Suppliers" table. Avoid SQL injection, and; Manage data containing the single quote ' I cannot see how to do either :(PostrgeSQL version 9.1. In the below code, dx.chronic is of type bool? and cdesc of table dx may contain single quote, as "Tom's dog". Clearly, UpdateCmd, as written, will fail when Npgsql/PostgreSQL hits the single quote. I just put some finishing touches to the PostgreSQL Injection Cheat Sheet.. All the TODO items have been removed now. Let me know if you have any extra info you think should be included on the cheat sheet.