Exit SQL includes a lot of empty space - can I get rid of him?
I have a simple piece of SQL running in an Oracle EBS table:
SET LINESIZE 1000 SPOOL c:\temp\oracle\test.txt SET TRIMSPOOL ON SET TRIMOUT ON SELECT TRIM(fu.user_name) user_name , TRIM(fu.user_id) user_id , TRIM(fu.description) description , TRIM(fu.email_address) email_address , TRIM(fu.fax) fax , TRIM(fu.person_party_id) person_party_id FROM applsys.fnd_user fu WHERE user_name = 'ZZZAAAB'; SPOOL OFF
The info for the selected fields:
Name Null? Type ----------------- -------- ---------------------------- USER_ID NOT NULL NUMBER(15) USER_NAME NOT NULL VARCHAR2(100) DESCRIPTION VARCHAR2(240) EMAIL_ADDRESS VARCHAR2(240) FAX VARCHAR2(80) PERSON_PARTY_ID NUMBER
When I look at the content of "test.txt", they appear as follows:
USER_NAME USER_ID DESCRIPTION EMAIL_ADDRESS FAX PERSON_PARTY_ID ---------------------------------------------------------------------------------------------------- ---------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -------------------------------------------------------------------------------- ---------------------------------------- ZZZAAABB 12345 Joseph Bloggs [email protected] June 15 rev:SEPT REV 051214; jun15 rev 11144455 1 row selected.
There is a huge amount of fill / empty space between fields and the total width of the data is 746 characters. I tried TRIM, TRIMOUT and TRIMSPOOL, but none makes no difference.
I tried a LINESIZE over small example 700, but data encapsulates then as follows:
USER_NAME USER_ID DESCRIPTION EMAIL_ADDRESS ---------------------------------------------------------------------------------------------------- ---------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FAX PERSON_PARTY_ID -------------------------------------------------------------------------------- ---------------------------------------- ZZZAAABB 12345 Joseph Bloggs [email protected] June 15 rev:SEPT REV 051214; jun15 rev 11144455 1 row selected.
If I use dummy data, the result is nice and compact:
SET LINESIZE 200 with tbl_data AS (SELECT 'ZZZAAAB' user_name , 12345 user_id , 'Joseph Bloggs' description , '[email protected]' email_address , 'June 15 rev:SEPT REV 051214; jun15 rev' fax , 77778899 person_party_id FROM DUAL) SELECT * FROM tbl_data; USER_NAME USER_ID DESCRIPTION EMAIL_ADDRESS FAX PERSON_PARTY_ID --------- ---------- ------------- -------------------------------- -------------------------------------- --------------- ZZZAAAB 12345 Joseph Bloggs [email protected] June 15 rev:SEPT REV 051214; jun15 rev 77778899 1 row selected.
I can't get around the selection of data from tables, thanks to the design of the table?
Hello
You need to change the columns for output. For example:
User_name FORMAT A20 COLUMN
COLUMN user_id FORMAT 9999999999
....
Tags: Database
Similar Questions
-
Recently, I used the Microsoft "Fix It" to diagnose a problem Uninstalling Word 2007. Since then, when I boot, an empty folder of files of Microsoft is the first thing to appear on my screen. How can I get rid of him?
Hello NitaWaller,
Did you run a full scan with your antivirus software or any malware removal program? How long have you had this folder appears on your desktop? Please let us know status
Malware
-
The display on my screen leaves about an inch of black space on the left. The screen is filled all the way to the right. How can I get rid of the black space on the left of my screen.
Thank you.
If you're talking about a desktop computer, there will be buttons on the screen to make adjustments. It's different depending on the brand and models so you will need to read your user name guide or tinker with it until you understand.
Good luck.
-
no further details
Go to https://profile.live.com/Services/?view=manage and click on modify under section of facebook. Then choose 'Delete this topic'. Sync Facebook information is no longer to your Windows Live account.
-
On my messages incoming under my bars, & above the message header, is a new line. It sort of looks like another bar tools, but different. It reads from left to right, and each word is white highlight:
Return before refresh URL: _ go
Each of these words except for "URL:" are in boxes as if they are links, but they do not work as links.
What is this and how do I get off it my incoming messages?
Thank you, nanciewanda
OK, you have a lot of Add-ons, I though I had loads, but I think that you beat me.
You have the add-on Thundebirowse installed, I think that the elements are in the toolbar that provides.
Tools menu > Add-ons and disable Thunderbrowse and I think they will disappear.
-
I tried to not restart, no luck. Cannot trash page. Don't know what to do.
You do not have a virus, given history and the clear, or just Safari Web site relaunch Safari with the SHIFT key is pressed.
-
It's a white box in the upper left corner on my main screen (Center). There is nothing in it, and it covers a section of 6 icons on Desktop 3 across and 2 down. It occurs during the boot process and I was not able to attach it to a specific program. I was informed by Dell it is a Windows 7 problem.
I had a computer technician who had encountered the problem before. I have a Dell and this white box was some kind of problem with the backup of Dell and the restoration. I just stopped the program of commissioning and the white box does not return.
-
I have seen discussions on this topic on the internet, I have tried everything this than recommended. I deleted everything that was outside the page, it does not work. My site is visible to The more recent/VMoA. I have several slideshows that are full page.
Thank you
Rob
In my view, that the source of the problem is the musethemes share button. It is differently resizing in browser than in Muse design mode. Please try to delete it. If deleting it solves the problem, you can contain muse-themes for a widget update.
-
By mistake I have chosen "a lot" and now I can't get rid of it.
http://www.alot.com/FAQ#Q9
http://www.pchell.com/support/alot.shtml
http://www.ehow.com/how_5108594_remove-lot-toolbar.html
http://www.spywareremove.com/removeALOTToolbar.html
http://www.exterminate-it.com/malpedia/remove-a a lot -
My taskbar is suddenly vertically on the right side of my screen instead of at the bottom. (default) Ive tried to bring it back to its original spot by clicking and now an empty space, but cannot get a reaction. How can I get that back to the default?
Right-click on the taskbar and make sure the taskbar are not locked. Then move it using the left mouse button. Microsoft® Security MVP, 2004-2009
-
How can I get rid of extra space in the section toolbar?
There is an empty space between the tabs and the Navigation toolbar. It's the same height that other toolbars and is very annoying. How can I get rid of this space?
I tried to paste in a screenshot to show what I mean, but he does not accept this form.
Sorry thought you had placed them both on the same toolbar.
What you seem to have a bookmarks without all the bookmarks toolbar.Make sure you have this check box from the toolbar of bookmarks
View > toolbarsUse "Ctrl + B" to bring up the bookmarks in the sidebar.
You should have three records major 'personal bar' "Bookmarks Menu" and "Unsorted Bookmarks".If you have no bookmarks or folders in the 'personal bar' which could be a reason it becomes empty, the other, and the only other one I think is currently possible with Firefox itself is that you have not the wording "Bookmarks toolbar items" in the line when to customize, look for an item marked "Bookmarks" - there are two of these elements you don't want White Star on a black background and menu drop-down, you want the one with a blue symbol on the right side - do - drag it to the bookmarks toolbar, be careful when you sliding it might fall into the wrong toolbar.
If it does not use the "Restore Default Set" and then you will have to re - customize your toolbars (but you placed a photo here that you could work towards).
See the image at http://kb.mozillazine.org/Toolbar_customization_-_Firefox
to then customize with "Bookmarks Toolbar Items" display of the toolbar.]My own customizations seen in this image
- are described in the following text
You can make Firefox 4.0.1 and Firefox 5.0 resemble Firefox 3.6.17, see numbered 1 to 10 in the next topic difficulty Firefox 4.0 UI toolbar, problems (make Firefox 4.0 look like 3.6)
most of the major changes style as color borders around the tabs for the State and the bookmarks with folders blue and red bar favorites are in the positions of style # 41-45 (46 if you have several profiles).
-
Each new tab includes search Secure AV - how to get rid of him?
Each new tab includes search Secure AV - how to get rid of him?
Type of topic: addons< enter > in the address bar to open your add-ons Manager.
Access key; < Control >(Mac: < command >)< shift > has)In the Manager of Add-ons, on the left, select Extensions. Remove AVG
Whatever it is. Now do the same in the case computer programs.Windows: Start > Control Panel > uninstall programs.
Mac: Open the folder "Applications".
Linux: See your user manual. -
I installed EnhancedVideoInstaller.pkg in a vain attempt to have an online tour of health care. It shows in my downloads and activity monitor, it shows EnhancedVideo, but I can't get rid of. When I start my computer an empty white box flashes by in-between enter my password and the splash screen. I would like to eliminate it. Thank you!
http://www.howtogeek.com/231496/how-to-uninstall-applications-on-a-Mac-eVeRyThiN g-you-need to know.
-
F 23 has a tab box in the upper left corner. I made the change of url to empty, but it's still there. How can I get rid of it for good? W7 Ultimate. There was no box in another version of FF.
Hello, apparently this option has been removed intentionally in preparation for a redesign of the browser which will land in firefox later this year. You can use the following extensions to work around this issue if: https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/
-
I try to get as many items as possible on the bookmarks menu bar (usually via 3 letter names). F4 adds an icon next to each name - occupy unnecessary space. How, please, can I get rid of the icons in the bookmarks toolbar so I have space for several names of bookmarks? Thank you.
You can watch this extension:
- Favorite Deiconizer: https://addons.mozilla.org/firefox/addon/bookmarks-deiconizer/
Maybe you are looking for
-
Qosmio F20 speakers making hissing noise
Hello My Qosmio F20 has a strange problem. After turning on the laptop, the speakers start making a whistling noise. You can clearly hear it all the time. Toshiba has just replaced the motherboard but tis whistle is still there. Is it normal for the
-
Reference library of digital waveforms of SPI for LV 7.1
Hello I'm using LabVIEW 7.1. I want to implement SPI communications on a NI HSDIO (PCI-6541) device.The SPI Digital Waveform Reference Library (http://zone.ni.com/devzone/cda/epd/p/id/6163) is available for LabVIEW 7.1? Someone at - it successfully h
-
my network have static IP addresses but xp users only problem with IP address confilict, similarly there is no IP even in networ but his error ipconflict shows how to solve? Please help me
-
Documents in the print queue will not cancel or print
I tried all the usual cancel, delete, turn off the PC, turn the printer off, turn them both off the coast of all etc.
-
Printer does not print without saving the file first
Whenever I try to print an article I have to register all began as before that I could request a printing and in the left pane, at the top, it looks like 'print', but now it is said that 'save' what I have to do to correct and be able to print withou