📜  解释存储过程 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:54.144000             🧑  作者: Mango

代码示例1
Stored Procedure :
A stored procedure is a prepared SQL code that you can save, 
so the code can be reused over and over again.

So if you have an SQL query that you write over and over again, 
save it as a stored procedure, and then just call it to execute it.

You can also pass parameters to a stored procedure, 
so that the stored procedure can act based on the parameter value(s) 
that is passed.