我们可以在函数中调用存储过程吗? [英] Can we Call Store Procedure in Function
本文介绍了我们可以在函数中调用存储过程吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们可以在sql server中的函数内调用Store Procedure吗?
Can we call Store Procedure inside the Function in sql server ?
推荐答案
技术上,没有。函数不允许INSERT,UPDATE或以其他方式影响行或列,存储过程是。
Technically, no. Functions aren't allowed to INSERT, UPDATE, or otherwise affect rows or columns, Stored Procedures are.
这篇关于我们可以在函数中调用存储过程吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文