我们可以在另一个storeprocedure中使用一个storeprocedure吗? [英] Can we use one storeprocedure inside another storeprocedure?
本文介绍了我们可以在另一个storeprocedure中使用一个storeprocedure吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果是,则how.plsease给出一个例子。
If yes then how.plsease give an example.
推荐答案
检查出来:
1. 如何到创建-A-贮存于─程序在另一个存储过程中的sql-server-2 [ ^ ]
2. how-to-execute-stored-procedure-in-another -sored-procedure-in-sql-server [ ^ ]
Check this out:
1. how-to-create-a-stored-procedure-within-another-stored-procedure-in-sql-server-2[^]
2. how-to-execute-stored-procedure-in-another-stored-procedure-in-sql-server[^]
是。
只需使用EXEC:
Yes.
Just use EXEC:
EXEC MyOtherStoredProcedure 'A Param', 'Another param, 3
这篇关于我们可以在另一个storeprocedure中使用一个storeprocedure吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文