MySQL Bulk Insert or Update

MySQL Bulk Insert or Update

Any technique that saves round trips to the database pays for itself exponentially over time. MySQLs bulk Insert or Update syntax is one of those techniques.

Fun with SQL Injection

Fun with SQL Injection

There are dozens of different ways to be a victim of an SQL injection attack. This article offers a more example-driven approach to learning about SQL Injection and how to avoid it.

MySQL emptying a table

Just a quick MySQL optimization note. Many times we're required to clear a database table and reset the auto increment counter. This is common with…