- What are the downsides of using adhoc/on-the-fly SQL statements and what would you do instead?
This area can have a huge impact on performance and security of the db. Get this wrong, and you could end up in a world of pain.
- In what situations would you use adhoc/on-the-fly SQL statements?
Because there is always an exception to the rule :)