in reply to Re: Placeholders in SQL query
in thread Place holders in SQL query

Don't forget placeholder-usage comes with a price. It's becomes harder for the planner to pick a good execution plan

Don't forget non-placeholder-usage comes with a price. It is much less efficient to prepare and execute 1,000,000 separate queries than it is to prepare a query once and then execute 1,000,000 times with different bound arguments.