I know its supposed to improve performance and clean strings, but lets say there are no variables?
Might just be a
SELECT COUNT( `column` ) AS count FROM `table`
- Should that be prepared?
- Is there any case that a
SELECTstatement should not be prepared?
As a general rule, you should prepare statements that take variables from somewhere else. Usually this includes
INSERTandUPDATEstatements,SELECTs andDELETEs withWHEREclauses, and stored procedure calls with arguments.