How can we define output parameter size in stored procedure?(我们如何在存储过程中定义输出参数大小?)
问题描述
如何在存储过程中定义输出参数大小?
How can we define output parameter size in stored procedure?
推荐答案
你不能.当然,您可以控制将多少数据放入存储过程的 OUT 参数中.如果需要,您可以创建一个大小合适的局部变量来保存数据,然后将该变量的值分配给 OUT 参数.
You can't. Of course, you are in control of how much data you put into the OUT parameter in the stored procedure. If you want you can create a sized local variable to hold the data and then assign the value of that variable to the OUT parameter.
调用程序确定接收 OUT 参数的变量的大小.
The calling program determines the size of the variable that receives the OUT parameter.
这篇关于我们如何在存储过程中定义输出参数大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我们如何在存储过程中定义输出参数大小?


基础教程推荐
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- 带更新的 sqlite CTE 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01