Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Newline inserted via sqlworksheet
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0436F.139708B0
Content-Type: text/plain
Oracle 8.0.5 on NT
I have a table with a column defined as a varchar2(4000)
I can insert any string of 215 characters into the column without any
problems using sqlplus or sqlworksheet.
If I insert a string of 216 characters with no spaces in the text, it works
fine in sqlworksheet.
If I insert a string of 216 characters with spaces in the text, it works
fine using sqlplus
but when I use Sqlworksheet, it inserts a Newline character where the space
is.
For some reason, the column is wrapping to the next line where that Newline
character is inserted.
Where does Sqlworksheet get this line wrapping value from?
I want the column to contain the text as entered, not to insert Linefeed
(x'10) values.
My sqlplus glogin.sql has a linesize of 500.
How can I override this linesize problem in sqlworksheet?
Any ideas?
John Baylis
DBA / Systems Administrator
Canadian Forest Products Ltd.
Vancouver B.C. Canada
------_=_NextPart_001_01C0436F.139708B0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>Newline inserted via sqlworksheet</TITLE>
</HEAD>
<BODY>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Oracle 8.0.5 on =
NT</FONT>
</P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">I have a table with =
a column defined as a varchar2(4000) </FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">I can insert any =
string of 215 characters into the column without any problems using =
sqlplus or sqlworksheet.</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">If I insert a =
string of 216 characters with no spaces in the text, it works fine in =
sqlworksheet.</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">If I insert a =
string of 216 characters with spaces in the text, it works fine using =
sqlplus</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">but when I use =
Sqlworksheet, it inserts a Newline character where the space is.</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">For some reason, =
the column is wrapping to the next line where that Newline character is =
inserted.</FONT>
</P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Where does =
Sqlworksheet get this line wrapping value from?</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">I want the column =
to contain the text as entered, not to insert Linefeed (x'10) =
values.</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">My sqlplus =
glogin.sql has a linesize of 500.</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">How can I override =
this linesize problem in sqlworksheet?</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Any ideas?</FONT>
</P>
<P><B><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Tahoma">John =
Baylis</FONT></B>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">DBA / Systems Administrator</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Canadian Forest Products Ltd.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Vancouver B.C. Canada</FONT>
Received on Tue Oct 31 2000 - 13:16:31 CST
![]() |
![]() |