人真的真的超多的, 有時眼睛都熏得有夠難受的, 所以, 真的佩服這些虔誠的人們.
下面是我這次所拍的相片 (按一下圖案即可觀看) :
![]() |
鹿港春節遊 |
![]() |
鹿港春節遊 |
Ascii數字 = ascii( '字元' );
例如: select ascii('﹑') from dual;
結果: 15711652
字元 = chr( Ascii數字 );
例如: select chr('15711652') from dual;
結果: ﹑
v_raw_var := utl_raw.cast_to_raw(v_varchar_var);
v_varchar_var := utl_raw.cast_to_varchar2(v_raw_var);
v_raw_var := utl_raw.cast_from_number(v_number_var);
v_number_var := utl_raw.cast_to_number(v_raw_var);
document.add( new Paragraph(行距數值, str) );
begin
fnd_user_pkg.change_user_name( 'old_user_name', 'new_user_name' );
end;
雖然在 "Oracle ERP 作業" 中, 該 User 擁有的某些 Responsibility 沒有失效,
但在 "WF_LOCAL_USER_ROLES" table 中, 有些欄位值已失效,
而導致此錯誤訊息.
update WF_LOCAL_USER_ROLES
set USER_END_DATE = null
, ROLE_END_DATE = null
, EFFECTIVE_END_DATE = null
, EXPIRATION_DATE = null
where USER_NAME = '&USER_NAME'
and EFFECTIVE_END_DATE > SYSDATE;
-- 避免將真正已失效的 Respsibility 又再次生效
雖然在 "Oracle ERP 作業" 中, 該 User 雖沒有失效,
但在 "WF_LOCAL_USER_ROLES" table 中, 有些欄位值已失效
或在 "WF_LOCAL_ROLES" table 中資料不存在,
而導致此錯誤訊息.
1) 到 Employee 作業重新 Update 存檔.
2) 然後到 Fnd User 作業中, 清除 Employee 欄位資料, 存檔,
再設定 Employee 欄位資料, 存檔即可.
update WF_LOCAL_USER_ROLES
set USER_END_DATE = null
, ROLE_END_DATE = null
, EFFECTIVE_END_DATE = null
, EXPIRATION_DATE = null
where USER_NAME = '&USER_NAME'
and ROLE_NAME = '&USER_NAME';
select replace('abcde', 'abc', '123')
from dual;
-- 結果: 123de
select replace( replace( replace ('abcde', 'a', '1'), 'c', '2'), 'e', '3' )
from dual;
-- 結果: 1b2d3
-- 但需要三層 replace 才可替換
select translate ('abcde', 'ace', '123')
from dual;
-- 結果: 1b2d3
-- 只需一個 translate 即可.
select translate ('abcde', 'ace', '12')
from dual;
-- 結果: 1b2d
-- 因為沒有指定 e 的替換字元,所以 e 就不見了.