標籤:尋找員工編號為7369的領導:1 SELECT LEVEL,E.* FROM EMP E CONNECT BY PRIOR E.MGR = E.EMPNO START WITH E.EMPNO = 78762 ORDER BY LEVEL DESC"start with" -- this identifies all LEVEL=1 nodes in the tree"connect by" -- describes how to walk from the parent nodes
標籤:ORA-28000: the account is locked-的解決辦法2009-11-11 18:51ORA-28000: the account is locked第1步:使用PL/SQL,登入名稱為system,資料庫名稱不變,選擇類型的時候把Normal修改為Sysdba;第2步:選擇myjob,查看users;第3步:選擇system,右擊點擊“編輯”;第4步:修改密碼,把“帳戶被鎖住”的勾去掉;第5步:點擊“應用&
標籤:3.1.1 HWM (High Water Mark) 3.1.1.1 定義 To manage space, Oracle Database tracks the state of blocks in the segment. The high water mark (HWM) is the point in a segment beyond which data blocks are unformatted and have never been used. Above
標籤:在oracle db 11gR2版本號碼被啟用 Oracle NUMA 支援參考原始:Enable Oracle NUMA support with Oracle Server Version 11gR2 (檔案 ID 864633.1)申請:Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterOracle Database - Standard Edition - Version 11.2.0.1 and
標籤:declare r_emp scott.emp%rowtype; cursor cur_emp is select t.* from scott.emp t;begin open cur_emp; if cur_emp%isopen then dbms_output.put_line(‘is open...‘); end if; loop fetch cur_emp into r_emp;
標籤:PL/SQL登入很短時間session就自動斷開1.首先查看你這個使用者的profile檔案select profile from dba_users where username=‘USERNAME‘;2.查看一下profile檔案中的idle_time設定select * from dba_profiles where profile=‘PROFILENAME‘;3.如果第二步尋找的idle_time值很小,修改為UNLIMITED不限制alter profile
標籤:1、如果有刪除使用者的許可權,則可以:drop user user_name cascade;加了cascade就可以把使用者連帶的資料全部刪掉。刪除後再建立該使用者。 --建立管理使用者 create user 使用者名稱 identified by 密碼 default tablespace space_data(資料表空間名稱) temporary tablespace space_temp(暫存資料表空間名稱); --授權 grant connect,dba to 使用者名稱; -