What is stored procedures in sql ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is stored procedures in sql ?

9th May 2018, 8:25 PM
Sarah Ibrahim
5 Answers
+ 1
Vctrzrp In 2005 SQL changed how they handle online queries vs stored procedures. Both types now get syntax checked, executed and cached. There hasn't been any significant difference between the types since then. Where stored procedures do win is in maintenance as it means editing the SQL in one place only.
9th May 2018, 11:21 PM
Adam
Adam - avatar
0
Stores procedure is a program which is in a database and is faster to execute queries. It is maybe a good practice when you have one database for any programs because it has a direct connection to the DB 😅
9th May 2018, 8:42 PM
Vctrzrp
Vctrzrp - avatar
0
what is the syntax of stored procedures ??
9th May 2018, 9:16 PM
Sarah Ibrahim
0
The syntax can change depending on the language PL/SQL, SQL. Here you have an official documentation for PL/SQL: https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_6009.htm StackOverflow: https://stackoverflow.com/questions/459457/what-is-a-stored-procedure
9th May 2018, 9:27 PM
Vctrzrp
Vctrzrp - avatar
0
Adam thanks! 👍🏻
9th May 2018, 11:23 PM
Vctrzrp
Vctrzrp - avatar