■日誌切換 SQL> alter system switch logfile;■增加重做記錄檔組 SQL> alter database add logfile 2 group 4 ('/export/home/opt/product/10.1.0.3.0/oradata/ldfsys/redo04.log') size 10m;■增加重做記錄檔群組成員 SQL> alter database add logfile member
在sqlplus中依次執行:connect system as sysdba ; --一定要以DBA的身份登陸,否則下面會報錯shutdown immediate ;--這裡是為了關掉目前串連資料庫的session,如果有session串連到資料庫 是不允許更改字元集的startup mount ;--重啟alter system enable restricted session ; --禁止普通使用者登入alter system set JOB_QUEUE_PROCESSES=0;
redhat 5配置xmanager(XDM):rhel5與rhel4不同的地方是,rhel5裡沒有/etc/X11/gdm/這個目錄,rhel5的gdm的設定檔放在這裡/usr/share/gdm/defaults.comf,這一點可能是困擾大家的地方。在/usr/share/gdm/defaults.conf裡確保有以下幾句配置:Code highlighting produced by Actipro CodeHighlighter
授權某個許可權給某個角色:GRANT DELETE ANY TABLE TO "UCITROLE"; 將DELETE ANY TABLE 許可權授權給UCITROLE角色許可權:ALTER ANY INDEX ALTER ANY TABLE ALTER ANY TRIGGER CREATE ANY INDEX CREATE ANY JOB CREATE ANY SEQUENCE CREATE ANY TABLE CREATE ANY TRIGGER CREATE ANY VIEW
執行個體一create or replace trigger update_portaUser_pass after update on cas_porta_user for each rowdeclare -- local variables herebegin update security_credential c set c.column_value=:NEW.COLUMN_VALUE where c.principal_id in (select
create or replace trigger UserToTemp after insert or update or deleteon t_cs_one for each rowdeclare integrity_error exception; errno integer; errmsg char(200); tem1 varchar2(10); begin if inserting then se