Oracle筆試題 oracle DBA 面試題及答案(國外公司) oracle資料庫筆試題 DBA 國際大公司Oracle 面試筆試題 oracle Database DBA Interview Questions 1. How many memory layers are in the shared pool? 2. How do you find out from the RMAN catalog if a particular archive log has
1.查看oracle編碼命令 select userenv('language') nls_lang from dual; 2.更改命令如下 SQL> conn /as sysdba SQL> shutdown immediate; SQL> startup mount SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION; SQL> ALTER SYSTEM
有兩個簡單例子,以說明 “exists”和“in”的效率問題 1) select * from T1 where exists(select 1 from T2 where T1.a=T2.a) ; T1資料量小而T2資料量非常大時,T1<<T2 時,1) 的查詢效率高。 2) select * from T1 where T1.a in (select T2.a from T2) ;
oracle序列詳解和建立自增主鍵 Oracle序列主鍵 序列: 是oacle提供的用於產生一系列唯一數位資料庫物件。 l 自動提供唯一的數值 l 共用對象 l 主要用於提供主索引值 l 將序列值裝入記憶體可以提高訪問效率 1.首先建立序列,Oracle序列的文法格式為: CREATE SEQUENCE 序列名 [INCREMENT BY n] [START WITH n] [{MAXVALUE/
解決方案可通過如下SQL語句 首先需要使用dba登入. 運行cmd命令列工具, 輸入: sqlplus / as sysdba sqlplus sys/密碼@資料庫用例名 as sysdba 輸入dba的使用者名稱和密碼後進行 SELECT * FROM dba_profiles WHERE profile=’DEFAULT’ AND
在 Oracle 中根據經緯度計算兩地之間的距離 獲得弧度的函數: CREATE OR REPLACE FUNCTION Radian(d number) RETURN NUMBER is PI number :=3.141592625; begin return d* PI/180.0; end ; 測試一下這個函數: select Radian(360) from dual;