SP2-00027: Input is too long (> 2499 characters) - line ignored
參考Metalink: Doc ID: Note:115005.1 [@more@]SP2-00027: Input is too long (> 2499 characters) - line ignored
Problem Description
-------------------
You are trying to run a SQL query or script from an output file from a vendor
package called SQLBacktrack. The file has a SQL statement that is extremely
long (in this case thousands of lines long and each row has thousands of
characters) and you get the following error:
SP2-0027: input is too long (> 2499 characters) - line ignored
This fails with the same error from either SQL*Plus or Server Manager.
Solution Description
--------------------
Open the file in a text editor and then resave the file as a different file
type. In Microsoft Word, you click on File, Save As, then select file type
'text only with line breaks' and save the file. Once this is done, you can
successfully run the script from SQL*Plus or Server Manager.
Explanation
-----------
The output file that comes directly from SQLBacktrack doesnot have the proper
type of carriage returns that SQL*Plus or Server Manager recognizes. As a
result, the SQL statement is read by SQL*Plus or Server Manager as being all on
one line and you get the above error message. Once you save the file as 'text
only with line breaks' it reformats the carriage returns in the file so that
SQL*Plus or Server Manager can recognize it and run the statement successfully.
Additional Search Words
-----------------------
SQLBackTrack sp2-27
Problem Description
-------------------
You are trying to run a SQL query or script from an output file from a vendor
package called SQLBacktrack. The file has a SQL statement that is extremely
long (in this case thousands of lines long and each row has thousands of
characters) and you get the following error:
SP2-0027: input is too long (> 2499 characters) - line ignored
This fails with the same error from either SQL*Plus or Server Manager.
Solution Description
--------------------
Open the file in a text editor and then resave the file as a different file
type. In Microsoft Word, you click on File, Save As, then select file type
'text only with line breaks' and save the file. Once this is done, you can
successfully run the script from SQL*Plus or Server Manager.
Explanation
-----------
The output file that comes directly from SQLBacktrack doesnot have the proper
type of carriage returns that SQL*Plus or Server Manager recognizes. As a
result, the SQL statement is read by SQL*Plus or Server Manager as being all on
one line and you get the above error message. Once you save the file as 'text
only with line breaks' it reformats the carriage returns in the file so that
SQL*Plus or Server Manager can recognize it and run the statement successfully.
Additional Search Words
-----------------------
SQLBackTrack sp2-27
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7318139/viewspace-926753/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20210113]SP2-0232 Input too long. Must be less than 241 characters.txt
- Error running ‘Application’Command line is too longErrorAPP
- Command line is too long. Shorten command line for JooLunMallApiApplication or also for Spring Boot default configuration?APIAPPSpring Boot
- SAP:CX_SY_READ_SRC_LINE_TOO_LONG解決
- idea遇見Command line is too long. Shorten command line for Main or also for Application default configuration?IdeaAIAPP
- Spring Boot Intellij 執行應用的時候 Command line is too long. Shorten command line for 錯誤Spring BootIntelliJ
- data too long for column
- IDEA命令列縮短器助你解決此問題:Command line is too long. Shorten command line...Idea命令列
- IntelliJ IDEA 執行專案的時候提示 Command line is too long 錯誤IntelliJIdea
- ORA-01489: result of string concatenation is too long
- 關於Argument list too long的問題
- Specified key was too long; max key length is 1000 bytes
- File name too long window和linux排查,解決Linux
- WPF TextBox not allowed illegal characters to be input and limit the text length in mvvmMITMVVM
- mysql specified key was too long與Index column size too large. The maximum column size is 767 bytes.MySqlIndex
- 刪除大量檔案Argument list too long錯誤解決
- git拉取程式碼報錯filename too long unable to create fileGit
- 偶遇ERROR 1071 (42000): Specified key was too long; max key length is 767 bytesError
- 解決 Specified key was too long ... 767 bytes 的本質問題
- 執行遷移檔案報錯 1071 Specified key was too long.
- 表結構遷移檔案Identifier name 'xxxxxx' is too long解決IDE
- Excel為批註設定圖片背景 出現Bad Request - Request Too longExcel
- RMAN備份出現ORA-01801: date format is too long for internal buffer錯誤ORM
- idea在使用git clone 時出現Filename too long的報錯資訊IdeaGit
- C# The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size.C#MIT
- 【k8s】etcd叢集took too long to execute慢日誌告警問題分析K8S
- SSL/TLS抓包出現提示Ignored Unknown RecordTLS
- 新年新歲,好運 long long
- long long的加法溢位情況
- eslint-disable-next-line to ignore the next lineEsLint
- LeetCode之Find Common Characters(Kotlin)LeetCodeKotlin
- [LeetCode] 451. Sort Characters By FrequencyLeetCode
- c++ 基本資料型別(int、float、double、long、long long)最大值,最小是表示方法C++資料型別
- long2varchar 把long轉換為varchar2
- Command Line Tools
- Leetcode 3 Longest Substring Without Repeating CharactersLeetCode
- #3 Longest Substring Without Repeating Characters[M]
- 【Leetcode】1081. Smallest Subsequence of Distinct CharactersLeetCode
- TestNg 失敗用例重試自動被 ignored 怎麼辦?