在PL / SQL存储过程的参数变量数目 [英] Variable number of arguments in PL/SQL stored procedure

查看:125
本文介绍了在PL / SQL存储过程的参数变量数目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能否过程PL / SQL带有可变数量的参数?

Can a procedure PL/SQL take a variable number of arguments?

在我的情况下,该程序由一个表单的提交按钮调用,形式有可变数量的输入。

In my case, the procedure is called by the submit button of a form, and the form has variable number of inputs.

推荐答案

您不要客气,但您使用的mod_plsql?

You don't mention it, but are you using mod_plsql?

如果是这样,你应该阅读有关灵活的参数传递

If so, you should read about flexible parameter passing.

在短,$ P $在浏览器中以感叹号PFIX你的程序的名称,并name_array和value_array定义的过程。

In short, prefix your procedure name with an exclamation mark in your browser and define your procedure with a name_array and value_array.

这篇关于在PL / SQL存储过程的参数变量数目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆