偶尔接触oracle中的变量

偶然接触oracle中的变量??? 偶然写了个update语句?? update dm_t t set t.url (select /webyy/jcwh.do?

偶然接触oracle中的变量

??? 偶然写了个update语句

??

update dm_t t set t.url = (select '/webyy/jcwh.do?method=init&'||'id='||a.id from dm_t a where a.id = t.id)where t.lx = '001'

?

这样分开写后,执行成功。

?

?至于oracle的变量声明此处只是一个猜测,未查阅资料作进一步验证,待有时间再学习相关内容。