473,387 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

sqlplus "Input is too long (>2499 char)" error

I'm getting this error using sql plus
Input is too long (> 2499 characters) - line ignored

This is my command line on linux:
/home/oracle/product/8.1.6/bin/sqlplus -s loader/loader@ecrmdb
@/mp3/generated/listpullmon/sql/5485_de.sql

And I set line size in the file:

set pagesize 0
set heading off
set trimspool on
set term off
set feedback off
whenever sqlerror exit FAILURE;
spool /mp3/generated/ecrm/data_export/5485_20040414201752.txt
set linesize 12893
set escape on
Anything I should do?
Jul 19 '05 #1
1 22672
I found this, but how would I do this on Linux??
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.

"Krusty276" <da*******@hotmail.com> wrote in message
news:f8******************************@news.meganet news.com...
I'm getting this error using sql plus
Input is too long (> 2499 characters) - line ignored

This is my command line on linux:
/home/oracle/product/8.1.6/bin/sqlplus -s loader/loader@ecrmdb
@/mp3/generated/listpullmon/sql/5485_de.sql

And I set line size in the file:

set pagesize 0
set heading off
set trimspool on
set term off
set feedback off
whenever sqlerror exit FAILURE;
spool /mp3/generated/ecrm/data_export/5485_20040414201752.txt
set linesize 12893
set escape on
Anything I should do?

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Karl Ebener | last post by:
Hi! I am currently using a string to hold data (can be strings as well as binary!). Now it occured to me, that the <string> might be unable to handle Null-Bytes. Is that so? Following...
2
by: Gustavo Randich | last post by:
Hello, (Using DB2/LINUX 8.2.0) After compiling the STRIP migration UDF (found at http://www-106.ibm.com/developerworks/db2/library/samples/db2/0205udfs/), if I try to execute: values...
7
by: What-A-Tool | last post by:
In the following code, "catch" is underlined in blue, and the error "the variable fx is declared but never used" is displayed when I mouse hover over it. Am I doing something wrong, or do I just...
2
by: Curten | last post by:
Hi, I want to read data from a txt-file that looks like this: aaa 4 12.45 bbb 3 7.34 ccc 12 3.45 and store the data in an array of structures. The struct and array are defined...
21
by: comp.lang.tcl | last post by:
set php {<? print_r("Hello World"); ?>} puts $php; # PRINTS OUT <? print_r("Hello World"); ?> puts When I try this within TCL I get the following error:
4
by: rukkie | last post by:
Hi, I have some problems with a PHP reference in a <SCRIPTtag, but only with the Internet Explorer, which gives a "Error on page" message in the Status Bar. The code is as follows : <script>...
1
by: multics.cn | last post by:
Good day, c++ guys. I have a question about char_traits of user defined "char" type. I need a string type, which supports "long" as its "char" type, so I defined a lstring like this: typedef...
1
by: Krusty276 | last post by:
I'm getting this error using sql plus Input is too long (2499 characters) - line ignored This is my command line on linux: /home/oracle/product/8.1.6/bin/sqlplus -s loader/loader@ecrmdb...
14
by: Anna | last post by:
I try to put 8 int bit for example 10100010 into one character of type char(1 octet) with no hope . Could anyone propose a simple way to do it? Thank you very much.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.