可以参考: http://stackoverflow.com/questions/196652/prepared-statement-vs-stored-procedure They are not really the same thing - with stored procedures, your database logic resides inside the database. Prepared statements basically avoid re-parsing querie…