I just asked an SQL related question, and the first answer was: \"This is a situation where dynamic SQL is the way to go.\"
As I had never heard of
Dynamic SQL is merely where the query has been built on the fly - with some vendors, you can build up the text of the dynamic query within one stored procedure, and then execute the generated SQL. In other cases, the term merely refers to a decision made by code on the client (this is at least vendor neutral)