Loading SQL with table prefixes

By zomg (zomg)
Your project uses a table prefix because you share a database, or you don’t want to clash table names. Maybe you just like the groupings that prefixes provide. Now what if someone hands you some SQL code that you need to load, but it doesn’t have your prefixes applied? What do you do?