473,765 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_2004041420 1752.txt
set linesize 12893
set escape on
Anything I should do?
Jul 19 '05 #1
1 22764
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*******@hotm ail.com> wrote in message
news:f8******** *************** *******@news.me ganetnews.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_2004041420 1752.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
4105
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 question: How can I copy the binary data of a string into an array, such as char mtext (or alike) ?
2
2777
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 char(STRIP('0000345.50','L','0'),20) @
7
14122
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 ignore it? private void btnCalc_Click(object sender, System.EventArgs e) {
2
2899
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 like this
21
7858
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
3030
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> <!-- var stat =<?php echo stripslashes($status); ?>; window.status = stat;
1
1711
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 basic_string<longlstring; but I did not define template <char_traits<long{...}; It seems following code works:
1
428
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 @/mp3/generated/listpullmon/sql/5485_de.sql And I set line size in the file: set pagesize 0
14
307
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
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.