尝试将字符与查询输出连接起来:
查询:
select 'Text: '||chr(39)||wfn.notification_id||chr(39)
from wf_notification wfn;
错误:
ORA-04044:此处不允许使用过程,函数,包或类型
如何使用连接||和chr()在同一个查询中?
答案 0 :(得分:1)
您可以完全按照惯例使用||
。演示如下。该错误必须来自您查询的其他部分。
select 'Text: '||chr(39)||ename||chr(39) from scottemp;
'TEXT:'||CHR(39)||ENAME||CHR(39)
--------------------------------
Text: 'SMITH'
Text: 'ALLEN'
Text: 'WARD'
Text: 'JONES'
Text: 'MARTIN'
Text: 'BLAKE'
Text: 'CLARK'
Text: 'SCOTT'
Text: 'KING'
Text: 'TURNER'
Text: 'ADAMS'
Text: 'JAMES'
Text: 'FORD'
Text: 'MILLER'
答案 1 :(得分:0)
我想,这就是你想要做的。
$(function() {
$("#trigger").hover(function() {
$("#state-slider").dequeue().stop(false, true).show("blind", "slow");
}, function() {
$('#state-slider').dequeue().stop(false, true).hide("blind", "slow");
});