text columns

text columns

Post by Laura Bellin » Fri, 20 Feb 1998 04:00:00



HI.

I know this is a simple question, but I can't find the answer in any  of my
Oracle documentation.

How do I view the entire contents of a text column?  I am selecting the
text column from a table, and I am limited to what contents I can see -
SQL/Plus cuts it off.

Thanks!

 
 
 

text columns

Post by Angelo Cavallar » Fri, 20 Feb 1998 04:00:00


Hi Laura.

If it is a LONG column you must set the LONG-system variable to
a higher value.

For example type this in SQL*Plus:

        set LONG 10000

Maximum is 2 Giga in ORACLE7.

Greez,
Angelo.

--
-----------------------------------------------------------------
Angelo Cavallaro     /  /  /   \     TECTUM Beratungsgesellschaft
ORACLE-SW-Berater   /  /  /     \    fr Informationsverarbeitung

-----------------------------------------------------------------
         Visit the Home of the Green Ribbon Campaign:

                http://www.ponce.oisoft.com/

-----------------------------------------------------------------

 
 
 

text columns

Post by Thomas Ky » Fri, 20 Feb 1998 04:00:00



(if that email address didn't require changing)


>HI.

>I know this is a simple question, but I can't find the answer in any  of my
>Oracle documentation.

>How do I view the entire contents of a text column?  I am selecting the
>text column from a table, and I am limited to what contents I can see -
>SQL/Plus cuts it off.

>Thanks!


SQL> show long
long 5000

SQL> set long 99999

SQL> show long
long 99999

SQLPlus will only show the initial 'long' bytes of LONG field.  By default this
is 5,000 characters. Just issue set long "some bigger number" to see more of it.

Thomas Kyte

Oracle Government
Bethesda MD

http://govt.us.oracle.com/    -- downloadable utilities

----------------------------------------------------------------------------
Opinions are mine and do not necessarily reflect those of Oracle Corporation

Anti-Anti Spam Msg: if you want an answer emailed to you,
you have to make it easy to get email to you.  Any bounced
email will be treated the same way i treat SPAM-- I delete it.

 
 
 

text columns

Post by Doug Burn » Sat, 21 Feb 1998 04:00:00


I think

    SET LONG <n>

should do the trick.

Where n is the number of characters you want to be displayed.

HTH


>HI.

>I know this is a simple question, but I can't find the answer in any  of my
>Oracle documentation.

>How do I view the entire contents of a text column?  I am selecting the
>text column from a table, and I am limited to what contents I can see -
>SQL/Plus cuts it off.

>Thanks!


 
 
 

1. Concatenating a Text Column(>9000 Chars) and a Varchar Column

Hi Everybody,

I want to take a report by Concatenating a Text Column and
a Varchar column in a table. The Problem is, the
datalength of 'text column' is greater than 9000 chars. So
I am not able to convert this to Varchar.

I went through updatetext & writetext in Books Online. I
don't think through that we can concatenate a text column
(>9000 chars) and varchar column.

Can anybody guide me how to do this?

tks in advance,
Sri

2. Replication with RAS

3. Need faster way to search full-text in a text column

4. rst updating entire table

5. Extracting all of the text from a text column

6. Ugrade to version 4 or 5

7. Concatenation of Text Column and Varchar Column?

8. Nested Messagehandler calls

9. Replacing text in query output (from a text-column)

10. BCP in 6.5 will not upload any of my text tables with TEXT columns

11. Write RTF-Text into a Text-Column with ADO-Connection

12. Column aggregating for text columns