[20211231]ORA-01418 specified index does not exist.txt
[20211231]ORA-01418 specified index does not exist.txt
--//維護索引改名發現報如下錯誤:
ORA-01418: specified index does not exist
$ oerr ora 01418
01418, 00000, "specified index does not exist"
// *Cause:
// *Action:
--//檢查表定義索引的名字定義如下,超過30個字元,在toad下版本可能比較老舊僅僅看到前面30個字元。
IF_YS_MZ_ZT01_SSLB_SSDM_ZTBH_1E7
--//僅僅顯示IF_YS_MZ_ZT01_SSLB_SSDM_ZTBH_1
1.環境:
xxxx1> @prxx
==============================
PORT_STRING : x86_64/Linux 2.4.xx
VERSION : 19.0.0.0.0
BANNER : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
BANNER_FULL : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.9.0.0.0
BANNER_LEGACY : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
CON_ID : 0
PL/SQL procedure successfully completed.
--//只能在sqlplus下完成,以後運維注意,最好目前還是限制索引30個字元。避免不必要的麻煩。
2.改名:
xxxx1> alter index "PORTAL_HIS"."IF_YS_MZ_ZT01_SSLB_SSDM_ZTBH_1E7" rename to IF_YS_MZ_ZT01_SSLB_SSDM_ZTBH_X;
Index altered.
--//測試一下修改大於30個字元沒有問題,但是toad下顯示的是30個字元,再修改提示上面的資訊。
--//以後運維要注意這個細節。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2850347/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- z-index does not work in Internet Explorer with pdf in iframeIndex
- What is the difference between Mysql InnoDB B+ tree index and hash index? Why does MongoDB use B-tree?MySqlIndexMongoDB
- ValueError: Length of values (141) does not match length of index (4278)問題的解決ErrorIndex
- apache PHP 隱藏 index.php 報錯 No input file specified. 解決辦法ApachePHPIndex
- mysql specified key was too long與Index column size too large. The maximum column size is 767 bytes.MySqlIndex
- [20211231]函式索引測試.txt函式索引
- No input file specified.
- apache 與 Nginx 隱藏 index.php 報錯 No input file specified. 解決辦法 設定偽靜態ApacheNginxIndexPHP
- [20211231]vim自動格式化sql語句.txtSQL
- [20211231]set linesize and dbms_output.line輸出問題.txt
- 執行gedit報No protocol specifiedProtocol
- What does -> do in clojure?
- does not support SSL connections
- ‘map’ does not name a type
- 解決IDEA Error:Output directory is not specifiedIdeaError
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embeddedAI
- 頁面報錯 No input file specified
- The label does not denote a loop in forEachOOP
- What does "xargs grep" do?
- error: 'cout' does not name a type|Error
- error: ‘xxx’ does not name a typeError
- Index of /virtualboxIndex
- PostgreSQL:INDEXSQLIndex
- The following instances are in the device manifest but not specified in framework compatibility matrix:devFramework
- ORA-00054: resource busy and acquire with NOWAIT specifiedUIAI
- no input file specified 三種解決方法
- Table is specified twice, both as a target for 'UPDATE' and as a separate source
- oracle invisible index與unusable index的區別OracleIndex
- Waring: /dev/centos/swap does not existdevCentOS
- Property [title] does not exist on this collection instance
- PSQLexception: ERROR : type "signed" does not existSQLExceptionError
- Python, pandas: how to sort dataframe by index// Merge two dataframes by indexPythonIndex
- Web 伺服器顯示 no input file specifiedWeb伺服器
- 專案遷移 寶塔 No input file specified
- Specified key was too long; max key length is 1000 bytes
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource couldAI
- 使用url()後出現No input file specified.
- index.jspIndexJS