: Is it possible to embed a scalar into the sql such that the value of
: the scalar could represent a column name to report or a value to
: select by

Sure. The query's just a scalar string until you execute it.

Same goes for order by, group by, table names, or whatever. Just do
yourself a favor and trap the errors that come back from the database
interface (DBI, hopefully).

-- tdk

Reply via email to