Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How do prepared statements offer better performance?

user-image
Question ajoutée par Afsheen Atif
Date de publication: 2014/06/13

In the normal course, every time an SQL statement is executed on the database server,

the server must parse the SQL code and check its syntax and structure before allowing

it to execute. With a prepared statement, the SQL statement is stored in a temporary

location on the database server and thus only needs to be parsed and validated once.

Further, every time the statement is executed, only the placeholder values need to be

transmitted to the server instead of the complete statement.

Source:

PHP A Beginner’s  Guide

Vikram Vaswani

Cheers!

dear sir u 

     salam where are you told me then what are you do job dubai ?? 

Gayasuddin Mohammed
par Gayasuddin Mohammed , Advocate , Practicing Law before High Court at Hyderabad

As it avoid repeated traffic on DB server that way it helps improve better performance

How About the uses of stored procedure and triggers and View??

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?