使用awk來解析dump檔案dump檔案是平時工作中經常碰見的,有時候得到一個dump,但是沒有提供一些更多的資訊,匯入的時候就很可能會有問題。如果某個使用者預設資料表空間是user,但是dump中的表所屬的資料表空間是datas01,則匯入的時候會自動轉換資料表空間。 但是如果表中存在lob欄位且dump的資料表空間和目標環境的資料表空間不一致,就有在匯入dump的時候,經典的00959問題,錯誤類似下面的形式。 IMP-00017: following
在Oracle中使用Java SourcesOracle中的MD5加密用法沒有搞明白,加密結果與程式中的結果不一樣,只好將Java中的方法搬過來。 STEP 1:create or replace and compile java source named md5util asimport java.security.MessageDigest;public class MD5Util{ public static String encrypt(String
Oracle 函數中遊標及遞迴的應用在代碼中使用遞迴可能大部分程式員都不陌生,但是在預存程序或者函數中寫個遞迴估計就不多見了。今天遇到了一個在Oracle函數中使用遞迴的例子,特記錄下來,方便以後查閱CREATE OR REPLACE FUNCTION F_Func(v_pcatalogue IN NUMBER, i_newPcatalogue IN NUMBER, v_authTypeId in number) RETURN NUMBER as
Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you r Gemfile,sqlite3gemfile解決:sudo gem install sqlite3-rubyERROR: Could not find a valid gem 'rdiscount' (>= 0) in any
【翻譯自mos文章】回收 asm磁碟空間的方法,mosasm回收 asm磁碟空間的方法參考原文:How To Reclaim Asm Disk Space? (Doc ID 351866.1)適用於:Oracle Database - Enterprise Edition - Version 10.2.0.1 and laterInformation in this document applies to any platform.***Checked for relevance on
【翻譯自mos文章】注意: ASMB process exiting due to lack of ASM file activity,asmbexiting注意: ASMB process exiting due to lack of ASM file activity 參考原文:NOTE: ASMB process exiting due to lack of ASM file activity (Doc ID 754110.1)適用於:Oracle Server - Enterprise