in reply to Re^3: Multiple SQL statements in DBI
in thread Multiple SQL statements in DBI

Thanks Dave.  Yeah - I've been using placeholders & bind-variables, but did wonder about the need for those given my findings with DBI not allowing multiple statements, but you've semi-answered that, so thanks!

Replies are listed 'Best First'.
Re^5: Multiple SQL statements in DBI
by davido (Cardinal) on Sep 07, 2012 at 22:24 UTC

    Well for one thing a malicious user could supply the necessary values for interpolation, and in the last value, close the parents and continue on with an inner join that is constructed to reveal what you never intended to reveal, or to consume tons of resources. Imagine a chain of "order by".


    Dave