- Goal
プロシージャからレコード作成/更新時に、APP_USERをセットする。テーブルのトリガーでLAST_UPDATE_BYをセットしている場合でも使える。
バッチ更新やEDIでの更新時などユーザー名以外の情報をセットできる。 - SourceThis file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
BEGIN --SET APP_USER apex_application.g_user := 'EDI'; -- UPDATE TABLE_NAME SET a = 1; END;
Oracle Application Express Notes | Apps development Notes | Google Cloud Platform | Python | apps test | Cool Beans | English | Books
2016/03/22
APP_USERを意図的にセットする
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿