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

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7318139/viewspace-926753/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7318139/viewspace-926753/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值