Click here to Skip to main content
15,896,467 members
Please Sign up or sign in to vote.
1.67/5 (2 votes)
See more:
what is the difference between execute sql query in php code normally and with a stored procedure?
Posted
Comments
Sergey Alexandrovich Kryukov 2-Apr-14 15:58pm    
This question is not anything certain. What do you mean by "difference"? Performance? (In what process?) Feature set? These approaches are very different...
—SA

Probably you want to know the difference between a 'standard' SQL query and a stored procedure. Google might help[^].
 
Share this answer
 
Instead of writing sql queries in the PHP code,
a Stored Procedure is a procedure written in SQL in your case MySQL and is stored in a database which can be called by the database engine and connected programming languages like PHP.
Refer: stored-procedures-mysql-php[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900