先來看看官方文檔中對這個參數的解釋CURSOR_SHARINGProperty Description Parameter type String Syntax CURSOR_SHARING = { SIMILAR | EXACT | FORCE } Default value EXACT Modifiable ALTER SESSION,ALTER SYSTEM Basic NoCURSOR_SHARINGdetermines what kind of SQL statements can
create index idx_p_merchant_detail_id on D_ORDER_DETAIL (merchant_detail_id) Online;建立好長時間,沒有反映;然後取消,結果刪除索引的時候,報如下的錯誤: 錯誤:ORA-08104: this index object 67420 is being online built or rebuilt 通過 ONLINE 參數建立索引(或者重建索引), 如果進程被突然終止,或者是手工 CTRL+C
1.記憶體減小導致Oracle啟動不了 Last login: Sun Nov 4 15:09:06 2012 from 192.168.5.222 [oracle@h1 ~]$ sqlplus "/as SYSDBA" SQL*Plus: Release 11.2.0.1.0 Production on Sun Nov 4 15:26:59 2012 Copyright (c) 1982, 2009, Oracle. All rights
--SQL刪除資料庫中所有使用者資料表主鍵--查詢刪除前的當前資料庫所有約束select * from information_schema.key_column_usagedeclare @TableName nvarchar(250)--聲明讀取資料庫所有資料表名稱遊標mycursor1declare mycursor1 cursor for select name from dbo.SysObjects WHERE OBJECTPROPERTY(ID, 'ISUSErTable') = 1
最近部署項目,Linux系統使用非Oracle使用者測試(比如test)tnsping orcl出現如下提示資訊: TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2012 14:29:28 Copyright (c) 1997, 2009, Oracle. All rights reserved. Used parameter files: /opt/
最近SQL查詢返回的結果給PL/SQL變數出現ORA-06502錯誤。這個錯誤的描述是ORA-06502: PL/SQL: numeric or value error: character string buffer too small. 顯而易見的是字元變數定義的長度不夠,加到20,到100,繼續06502,汗,咋回事呢?1、問題描述 --出現問題是在一個package裡,有兩個參數遊標,一個父遊標,一個子遊標,當父遊標輸出的結果傳遞值給子遊標時提示值太大
最近一周在複習索引相關的東西,除了回顧concept,還在MOS上看到了一篇比較好的文檔。分享給大家。文檔編號:[ID 30405.1]This article is only concerned with B*tree indexes which are currently the most commonly used. The theory of B*tree indexes is beyond the scope of this article; for more information
1. 建立兩個外部檔案分別為1.txt,2.txt其中分別只有一條資料。2.建立一個邏輯目錄並進行適當授權:SQL>create directory ztj1_dir as 'c:\ztj1\';目錄已建立然後在實體路徑上手工建立實際的目錄,如:在c:\盤下建立ztj目錄檔案夾。SQL>grant read on directory ztj1_dir to scott授權成功SQL>grant write on directory ztj1_dir to