我遇到了带有& -sign前缀参数的 PL / SQL 函数/过程调用,例如m_package.DeleteDuplicates(¶m1, &parma2)
。有谁能告诉我这是什么&前缀暗示。
答案 0 :(得分:2)
您好“&”意味着它会要求用户输入输入参数 函数的过程。希望在片段下面帮助
_createMenu = () => {
let menuOptionsAndIcons = {
'About me': <i className="fa fa-male" style={style.icons}/>,
'Skills': <i className="fa fa-certificate" style={style.icons}/>,
'Music': <i className="fa fa-music" style={style.icons}/>,
'Interests': <i className="fa fa-cogs" style={style.icons}/>
},
menu = [];
function _routeHandler() {
switch (this) {
case 'About me':
return function () {
if (typeof window !== 'undefined')
window.location.href = '' + 'http://' + window.location.host + '/about_me';
};
break;
case 'Skills':
return function () {
if (typeof window !== 'undefined')
window.location.href = '' + 'http://' + window.location.host + '/skills';
};
break;
case 'Music':
return function () {
if (typeof window !== 'undefined')
window.location.href = '' + 'http://' + window.location.host + '/music';
};
break;
case 'Interests':
return function () {
if (typeof window !== 'undefined')
window.location.href = '' + 'http://' + window.location.host + '/interests';
};
break;
default:
break;
}
}
for (var prop in menuOptionsAndIcons) {
if (menuOptionsAndIcons.hasOwnProperty(prop)) {
menu.push(<MenuItem leftIcon={menuOptionsAndIcons[prop]}
primaryText={ prop }
style={style.menuItem}
onTouchTap={_routeHandler.call(prop)}
key={prop}
rippleColor={"#FFFAE8"}
className="animated fadeInLeft"/>)
}
}
return menu
};
执行时会提示用户输入参数值
Example
CREATE OR REPLACE PROCEDURE proc_av1(
param1 IN NUMBER)
AS
BEGIN
dbms_output.put_line(param1);
END;