Time of Update: 2018-07-23
使用舊版本的exp從9205(或以上)版本匯出有lob對象的表時會出現 "EXP-00003: no storage definition found for segment ....."的錯誤, 這是Oracle的一個Bug, 對於這個bug,可以作以下處理來成功匯出資料. 在目標資料庫的sys使用者下運行: CREATE OR REPLACE VIEW exu9tne ( tsno, fileno, blockno, length) AS SELECT ts#,
Time of Update: 2018-07-23
在 Win7 下通過 oracle VirtualBox 安裝了 Ubuntu 顯卡驅動 Ubuntu is running in low-graphics mode,顯卡問題,也找到瞭解決方法: 在控制台輸入以下命令,可能需要花費一點時間: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo
Time of Update: 2018-07-23
一、 使用者資料表空間 錯誤: 在啟動資料庫時出現ORA-01157,ORA-01110或作業系統級錯誤例如ORA-07360, 在關閉資料庫(使用shutdown normal或shutdown immediate) 時將導致錯誤ORA -01116,ORA-01110以及作業系統級錯誤ORA-07368 解決,以下有兩種解決方案: 1.使用者的資料表空間可以被輕易地重建
Time of Update: 2018-07-23
對於oracle資料庫只有物理備份 和邏輯備份 物理備份:是將實際組成資料庫的作業系統檔案從一處拷貝到另一處的備份過程,通常是從磁碟到磁帶。 邏輯備份:是利用SQL語言從資料庫中抽取資料並存於二進位檔案的過程。 第一類為物理備份,該方法實現資料庫的完整恢複,但資料庫必須運行在歸擋模式下(業務資料庫在非歸擋模式下運行),且需要極大的外部存放裝置,例如磁帶
Time of Update: 2018-07-23
一、前提安裝 1.需要安裝QT5.2.0,本介紹安裝的是qt-windows-opensource-5.2.0-mingw48_opengl-x86-offline.exe; 本文安裝目錄:c:\Qt 2.安裝oracle用戶端, 本文安裝的為 :win32_11gR2_database_1of2.zip win32_11gR2_
Time of Update: 2018-07-23
我有一個表table_a 裡面有一個欄位field中儲存了使用者的編號,編號使用逗號隔開,例如:379,380,386,390,503我做查詢select * from user where user_id in (379,380,386,390,503); 是正確的。 但是當我查詢 select * from user where user_id in (select field from table_a where id = 1);時卻報oracle ORA-01722無效數字
Time of Update: 2018-07-23
1、查詢語句分析 /* Formatted on 2015/12/26 15:09:55 (QP5 v5.163.1008.3004) */ SELECT sheetid, b*****, b*****, b*****, b*****, b*****, b*****, b***** FROM view_b2bsaleckex WHERE sheetid = '151**
Time of Update: 2018-07-23
1、 建立使用者資料表空間 細節資料資料表空間表tcm_admin PLSQL下運行: create tablespace TCM_ADMIN logging datafile ‘D:/oracle/product/10.2.0/oradata/tcm_admin.dbf’ size 1024m autoextend on next 512m maxsize unlimited extent management local;
Time of Update: 2018-07-23
instr(string,substring[,start[,occurence]]) 第三個參數,開始搜尋位置 第四個參數,搜尋的子串第幾次出現。 如:select instr(url,'X',1,2),url from table_name where select_condition
Time of Update: 2018-07-23
1,Oracle資料庫的位元影像索引(Bitmap
Time of Update: 2018-07-23
Oracle異常分預定義異常和自訂異常(個人覺得)。 預定義異常裡麵包括匿名異常和非匿名異常。 (匿名異常:沒有名稱,像ORA-00371; 非匿名異常:有名稱,像no_data_found)。 自訂異常:需要聲明,與業務相關。 異常的拋出用raise。在exception捕獲後,可以向上繼續raise拋出。 在exception代碼塊捕獲後,如果想把異常反應給應用程式,使用 raise_application_error(-20000,
Time of Update: 2018-07-23
在Solaris10中為Oracle配置系統資源 文/呼必斯哈拉圖 摘要: 在 Solaris10 這個版本中的系統資源組態管理較之前的版本有較大的變化。諸如 Oracle 等,
Time of Update: 2018-07-23
網上看到一有關Oracle冷備份的文章,非常詳細: 一、冷備份 資料庫在關閉狀態下完成所有物理系統檔案拷貝的過程,也稱離線備份 適合於非歸檔模式下,資料庫處於一致性狀態 二、步驟 首先在啟動並執行庫中得到資料庫啟動並執行所有的物理檔案位置,
Time of Update: 2018-07-23
我知道Oracle是不支援AUTO_INCREMENT自動遞增的,需要建立一個Sequence來實現自動遞增。 然後建立一個觸發器來實現加1功能。 我要實現的功能是往任務表中添加一條資料的同時,往任務範圍表中添加資訊(添加的資訊包括: 任務id,頻道id) 我在一個方法中實現這樣的功能: 步驟: 1、往任務表中添加一條任務; 2、取出此任務的id; 3、把任務id和頻道id添加到任務範圍表;
Time of Update: 2018-07-23
SCOPE The SCOPE clause lets you specify when the change takes effect. Scope depends on whether you started up the database using a client-side parameter file (pfile) or server parameter file (spfile).
Time of Update: 2018-07-23
1、在powerDesinger中設計表 (1)下載powerDesinger後,右鍵NEW-->Physical data model預設名為:PhysicalDiagram_1, 右鍵NEW-->TABLE,開始表的設計 (2)配置odbc資料來源 在你的電腦的 控制台\系統和安全\管理工具(我的是W7的系統) 中配置ODBC資料來源,
Time of Update: 2018-07-23
對於初學者來說,往往不知道如何建立資料庫,下面作者作為一個剛剛開始使用Oracle資料庫的人來給大家介紹一下使用Database Configuration Assistant完成資料庫的建立具體步驟。 1、開啟Database Configuration Assistant嚮導-選擇資料庫操作為:建立資料庫
Time of Update: 2018-07-23
SpringMVC架構下,Oracle資料來源在spring-servlet.xml中的配置如下: <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
Time of Update: 2018-07-23
跑起頁面,項目的名稱在myeclipse>project facets>web>web context-root /項目名 eclipse中>properties for order -front .web project settings >context root/ com.zy.dao:介面 com.zy.dao.imp:執行個體化 com.zy.service:介面 com.zy.service.imp:執行個體化
Time of Update: 2018-07-23
oracleBackUp.bat 檔案如下,用記事本開啟 rem call LogicBackup.bat %DUMP_DIR%rem ==========================================================================================rem 本批處理實現支援exp資料庫的Oracle資料庫版本的資料庫邏輯備份,流程為:匯出資料到rem dump_