標籤:oracle vm virtualbox安裝系統報錯使用虛擬機器Oracle VM VirtualBox安裝centos6.5時提示如下資訊: This kernel requires the following features not present on the CPU: Unable to boot – please use a kernel appropriate for your CPU.解決方案: 選中對應的系統——設定——系統——處理器——擴充特性 ====
標籤:註明:該文章為引用別人的文章,連結為:http://blog.csdn.net/apicescn/article/details/1510922 ,本人記錄下來只是為了方便查看原文:connect by 是結構化查詢中用到的,其基本文法是: select ... from tablename start by cond1 connect by cond2 where cond3; 簡單說來是將一個樹狀結構儲存在一張表裡,比如一個表中存在兩個欄位:
標籤:對於表資料恢複,誤刪了表中資料時,一般不要再操作這個表了,按照下面的處理,即可把表中資料恢複過來。情境:假設誤刪了表tabletest中的資料,則可用如下方法恢複表中資料第一中方式:建立一個備份表,存放三小時前的資料create table tabletest_2014bak nologging as select * from tabletest as of timestamp sysdate-21/24 where name !=
標籤: DECLARETYPE name_list IS TABLE OF VARCHAR2(40);TYPE type_list IS TABLE OF VARCHAR2(20);Tab_name name_list:=name_list();Tab_type type_list:=type_list();sql_str V
標籤:Oracle的坑真多已經淌過的坑有:1,冷備份。Win32到Win64需要執行若干腳步。2,逐步開啟資料庫。關閉:shutdown 開啟:startup nomount alter database mount; alter database open ;Oracle啟動比較慢也占記憶體,所以可以平時關閉資料庫,需要的時候在開啟。簡單的方法是:關閉Oracle服務,需要時開啟。逐步開啟的優勢是Oracle出問題是,容易發現問題。3, 通過V$SQLAREA
標籤: 在Oracle中,有時候在執行計畫中看到sort關鍵字,就有人認為是做了排序,其實不一定。可以用下面的方法實驗:drop table test purge;create table test as select * from dba_objects;exec dbms_stats.gather_table_stats(user,‘test‘);select /*+gg_test*/* from test order by object_id;select
標籤:group by rollup(a,b) = group by a,b + group by a + group by null 1 SQL> select deptno,job,sum(sal) 2 2 from emp 3 3 group by rollup(deptno,job); 4 5 DEPTNO JOB SUM(SAL) 6 ------ --------- ---