What is the use of stored procedures in SQL?

A stored procedure is used to retrieve data, modify data, and delete data in database table. You don’t need to write a whole SQL command each time you want to insert, update or delete data in an SQL database. A stored procedure is a precompiled set of one or more SQL statements which perform some specific task.
For More Information Please Refer:
https://stackoverflow.com/questions/459457/what-is-a-stored-procedure
You May Also Like to Read: