dbTalk Databases Forums  

How to export a LONG field to Excel

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss How to export a LONG field to Excel in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dn.perl@gmail.com
 
Posts: n/a

Default How to export a LONG field to Excel - 06-18-2010 , 01:49 AM






I use Oracle SQL Developer, ver 2.1, to access an Oracle 10g server. I
would like to export a LONG field into an excel sheet. Sometimes it
works, sometimes not, and I have not been able to find out the
boundary beyond which it fails. I can export it into a csv file and
then open it an an excel file, but the LONG field contains several
tabs and several commas within it. And formatting that data correctly
so that excel organizes it the way I want (correct field in correct
column) is proving a bit tiresome.

Can Oracle SQL Developer or TOAD be configured to read (say) 2,000
characters of a LONG field, truncate the rest, and reliably export
this data (with a limit of characters in a LONG field) into an Excel
sheet?

Please advise; thanks in advance.

Reply With Quote
  #2  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: How to export a LONG field to Excel - 06-21-2010 , 02:37 PM






On 06/18/2010 07:49 AM, dn.perl (AT) gmail (DOT) com wrote:
Quote:
I use Oracle SQL Developer, ver 2.1, to access an Oracle 10g server. I
would like to export a LONG field into an excel sheet. Sometimes it
works, sometimes not, and I have not been able to find out the
boundary beyond which it fails. I can export it into a csv file and
then open it an an excel file, but the LONG field contains several
tabs and several commas within it. And formatting that data correctly
so that excel organizes it the way I want (correct field in correct
column) is proving a bit tiresome.

Can Oracle SQL Developer or TOAD be configured to read (say) 2,000
characters of a LONG field, truncate the rest, and reliably export
this data (with a limit of characters in a LONG field) into an Excel
sheet?

Please advise; thanks in advance.

Learn about the darn thing:
1) Long has been deprecated since 8.0
2) Use SQL*Plus "Set long xxx" command

Documentation could always be found on
tahiti.oracle.com, which you would have known
had you done any research. And by that I mean
use your favourite search engine.
--

Regards,

Frank van Bortel

Reply With Quote
  #3  
Old   
joel garry
 
Posts: n/a

Default Re: How to export a LONG field to Excel - 06-21-2010 , 07:45 PM



On Jun 17, 10:49*pm, "dn.p... (AT) gmail (DOT) com" <dn.p... (AT) gmail (DOT) com> wrote:
Quote:
I use Oracle SQL Developer, ver 2.1, to access an Oracle 10g server. I
would like to export a LONG field into an excel sheet. Sometimes it
works, sometimes not, and I have not been able to find out the
boundary beyond which it fails. I can export it into a csv file and
then open it an an excel file, but the LONG field contains several
tabs and several commas within it. And formatting that data correctly
so that excel organizes it the way I want (correct field in correct
column) is proving a bit tiresome.

Can Oracle SQL Developer or TOAD be configured to read (say) 2,000
characters of a LONG field, truncate the rest, and reliably export
this data (with a limit of characters in a LONG field) into an Excel
sheet?

Please advise; thanks in advance.
Also note you can protect commas and tabs with double quotes, as you
could see by saving excel files as csv's.

jg
--
@home.com is bogus.
http://www.boston.com/bostonglobe/id...side_of_wrong/

Reply With Quote
  #4  
Old   
Shakespeare
 
Posts: n/a

Default Re: How to export a LONG field to Excel - 06-22-2010 , 03:08 AM



Op 22-6-2010 1:45, joel garry schreef:
Quote:
On Jun 17, 10:49 pm, "dn.p... (AT) gmail (DOT) com"<dn.p... (AT) gmail (DOT) com> wrote:
I use Oracle SQL Developer, ver 2.1, to access an Oracle 10g server. I
would like to export a LONG field into an excel sheet. Sometimes it
works, sometimes not, and I have not been able to find out the
boundary beyond which it fails. I can export it into a csv file and
then open it an an excel file, but the LONG field contains several
tabs and several commas within it. And formatting that data correctly
so that excel organizes it the way I want (correct field in correct
column) is proving a bit tiresome.

Can Oracle SQL Developer or TOAD be configured to read (say) 2,000
characters of a LONG field, truncate the rest, and reliably export
this data (with a limit of characters in a LONG field) into an Excel
sheet?

Please advise; thanks in advance.

Also note you can protect commas and tabs with double quotes, as you
could see by saving excel files as csv's.

jg
--
@home.com is bogus.
http://www.boston.com/bostonglobe/id...side_of_wrong/
Or just use different field seperators.

Shakespeare

Reply With Quote
  #5  
Old   
joel garry
 
Posts: n/a

Default Re: How to export a LONG field to Excel - 06-22-2010 , 04:23 PM



On Jun 22, 12:08*am, Shakespeare <what... (AT) xs4all (DOT) nl> wrote:
Quote:
Op 22-6-2010 1:45, joel garry schreef:



On Jun 17, 10:49 pm, "dn.p... (AT) gmail (DOT) com"<dn.p... (AT) gmail (DOT) com> *wrote:
I use Oracle SQL Developer, ver 2.1, to access an Oracle 10g server. I
would like to export a LONG field into an excel sheet. Sometimes it
works, sometimes not, and I have not been able to find out the
boundary beyond which it fails. I can export it into a csv file and
then open it an an excel file, but the LONG field contains several
tabs and several commas within it. And formatting that data correctly
so that excel organizes it the way I want (correct field in correct
column) is proving a bit tiresome.

Can Oracle SQL Developer or TOAD be configured to read (say) 2,000
characters of a LONG field, truncate the rest, and reliably export
this data (with a limit of characters in a LONG field) into an Excel
sheet?

Please advise; thanks in advance.

Also note you can protect commas and tabs with double quotes, as you
could see by saving excel files as csv's.

jg
--
@home.com is bogus.
http://www.boston.com/bostonglobe/id...6/13/the_brigh...

Or just use different field seperators.

Shakespeare
How many ways does Excel blow? Don't get me started...

jg
--
@home.com is bogus.
http://thedailywtf.com/Articles/A-Gr...ce-Period.aspx

Reply With Quote
  #6  
Old   
galen_boyer@yahoo.com
 
Posts: n/a

Default Re: How to export a LONG field to Excel - 06-22-2010 , 08:25 PM



"dn.perl (AT) gmail (DOT) com" <dn.perl (AT) gmail (DOT) com> writes:

Quote:
I use Oracle SQL Developer, ver 2.1, to access an Oracle 10g server. I
would like to export a LONG field into an excel sheet. Sometimes it
works, sometimes not, and I have not been able to find out the
boundary beyond which it fails. I can export it into a csv file and
then open it an an excel file, but the LONG field contains several
tabs and several commas within it. And formatting that data correctly
so that excel organizes it the way I want (correct field in correct
column) is proving a bit tiresome.

Can Oracle SQL Developer or TOAD be configured to read (say) 2,000
characters of a LONG field, truncate the rest, and reliably export
this data (with a limit of characters in a LONG field) into an Excel
sheet?
You know, this post really urks me. Its as though its the database's
job to somehow make sure excel can handle something.

--
Galen Boyer

--- news://freenews.netfront.net/ - complaints: news (AT) netfront (DOT) net ---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.