The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with Fixed width File Parsing sate911 UNIX Desktop for Dummies Questions & Answers 4 05-19-2008 12:18 PM
Changing particular field in fixed width file dsravan Shell Programming and Scripting 4 02-11-2008 06:08 PM
Converting a Delimited File to Fixed width file raghavan.aero Shell Programming and Scripting 2 06-06-2007 03:44 PM
adding delimiter to a fixed width file sumeet Shell Programming and Scripting 2 03-21-2007 10:19 AM
Fixed Width file using AWK alok.benjwal UNIX for Dummies Questions & Answers 2 12-05-2005 11:39 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-19-2001
handynas handynas is offline
Registered User
  
 

Join Date: Nov 2001
Location: Singapore
Posts: 12
Unhappy Increase width of Spool file

Hi All

This may not be entirely Unix related but I'll just have to try my luck and see if you know how to do this:

I need to spool the results of my SQL query into a file but as there are too many fields in the query the resultant spool file put the last few fields on the next line.

May I know if there is a way to expand the spool file so that all the fields in a particular record are displayed in the same line?

I'm using HP9000 Unix system and SQLPLUS to perform my query, the query I used in the SQL prompt is:

Spool CHNSHP
select a.part_nr, a.commercial_dn, a.part_dn, b.NAT_HS_CD as CHN_HTS
from cla_part a, clv_curr_cust_part_ctry b
where b.part_nr= a.part_nr and a.part_nr in
('A6016A',
'A6016A 0D1',
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0