免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8897 | 回复: 3
打印 上一主题 下一主题

[求助]SP2-0027: 输入> 2499 characters问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-01-15 10:17 |只看该作者 |倒序浏览
当我在SQL/PLUS中执行单个一个超过2500字符的SQL语句时,报这个错:
SP2-0027: Input is too long (>; 2499 characters) - line ignored.

请注意是一个SQL语句,例如insert into a(txt) values(' xxxxxxx...3000..xxx');

用 @test.sql 方式执行时也出同样的错误.

请教如何解决这个问题?怎么增大2499 characters的限制?

论坛徽章:
0
2 [报告]
发表于 2004-01-15 11:06 |只看该作者

[求助]SP2-0027: 输入> 2499 characters问题

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.

论坛徽章:
0
3 [报告]
发表于 2004-01-15 14:01 |只看该作者

[求助]SP2-0027: 输入> 2499 characters问题

论坛徽章:
0
4 [报告]
发表于 2004-01-15 15:47 |只看该作者

[求助]SP2-0027: 输入> 2499 characters问题

加了回车,试了insert 可以了,多谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP