Issue records the tail

I'm trying out my file so that it has the same amount of space between each column.

Records in the example table:
first_name last_name city         id
bob          jones        chicago   9999
charles      schwab     boston    8888
Desired output:
entire_record
bob jones        |   chicago  | 9999
charles schwab   |   boston   | 8888
Current query:
select rpad(first_name || ' ' || last_name,max(length(first_name || ' ' || last_name)) over ()) 
         || ' | ' || rpad(city,max(length(city)) over()) || ' | ' || id as entire_record
from   sample_table
Output current
entire_record
bob jones         |   chicago  | 9999
charles schwab   |   boston   | 8888
The question I have, is that in the output window of sql, the columns do not have the tail, they seem to be turned off. Everything has idea to work around this problem? Is my logic right or do I need to apply another function to handle this?

Published by: user652714 on February 22, 2011 15:26

The weird part is, when I display the output in pl/sql developer, that he does not seem to be aligned.

Yes, I use PL/SQL Developer myself too, and I think I understand what you mean.
You probably use your query through a SQL window and not a command window.
If you run this:

begin
  for rec in ( with t as (
                           select 'bob' first_name, 'jones   ' last_name, 'chicago' city, 9999 id from dual union
                           select 'charles', 'schwab', 'boston', 8888 from dual
                           )
                           --
                           --
                           --
                           select rpad(first_name || ' ' || last_name,max(length(first_name || ' ' || last_name)) over ())
                                    || ' | ' || rpad(city,max(length(city)) over()) || ' | ' || id as entire_record
                           from   t
             )
  loop
    dbms_output.put_line(rec.entire_record);
  end loop;
end;  

and you check the output tab, you will see that your code really snaps, just as it does when you use the command window.
Don't worry, and if you want to know exactly why don't align results in the lower pane of the SQL window:
Ask the PL/SQL Developer forum.
It's probably some 'windoze thing', and I hope that SQL * more and dbms_output 100% when it comes to the harmonization of the results.

Tags: Database

Similar Questions

  • How to record the screen of the iPad

    I know this isn't a related issue of DPS, but I need to register my iPad screen for as part of the demo of my DPS application to one of the clients.

    I'm looking for recommendation of software/tool to easily record the screen of the iPad to include in my demo video.

    Thanks in advance.

    -MP

    Hello

    I think that reflector app is what you are looking for.

    http://www.airsquirrels.com/reflector/

  • Pages - trying to link the issue to the paragraph of the answer

    Hi there: neophyte user Pages for businesses trying to link the issue of the survey to a paragraph "answering machine".  As an example...

    Question:

    What's your brown grass?  Yes No

    If the answer is Yes, then want to fill and print a paragraph explaining...

    Your grass is Brown, because you're not watering or you need phosphorus or whatever.  Here's what you need to know about this resolution.  etc, etc.

    Any suggestions on the Pages or other popular apps.

    V5.6.2 pages is not suitable for the use of processing of affairs where one expects it to be a clone of Microsoft Word - who is not. There is no content link intra-document, support forms or runtime macros that manipulate the content of the document when the interactive user input. Pages is not a web design tool.

  • How to record the addresses of email on my iPad

    Hello

    How to record the addresses of e-mail of others and mine on my iPad?

    Thank you

    One way to do this is to go to Contacts and click on the sign more. You can then type a name for your contact and then press 'Add an email' to display the email field. In addition, if you are on iOS 9 on your iPad (settings > general > about and check the Version) you can add email to the Contacts directly from Mail addresses. When Mail detects a new contact it shows a small banner at the top of the message, and if you type you have the option to create a new contact or to add the new e-mail address for an existing contact.

  • I cancelled iTunes on a Macbook Air, issued by the school.  All my music is stored/saved on my iMac at home.  If I delete the playlists and songs of the Macbook it will affect my master library?

    I cancelled iTunes on a Macbook Air, issued by the school.  All my music is stored/saved on my iMac at home.  If I delete the playlists and songs of the Macbook it will affect my master library?

    Unless you're 'home sharing', which he does not seem like you are, two libraries (macbook and iMac) are distinct, so a change does not affect the other.  Best way to test would be to remove a few songs you can download easily and see if it changes.  But I don't think it will be a problem.

  • I can't bid on firefox or explorer. I place the cursor in the quote box, and it will not record the numbers. Can someone please help?

    I can't bid on firefox or explorer. I place the cursor in the quote box, and it will not only record the numbers. Can anyone help please thanks

    Problem solved. My husband came and noticed that the number lock has been deactivated. I can't thank you enough for your help. Hope my solution helps someone else with the same problem.

  • Hello friends, I am not able to record the songs in music in ios 9.3, please give me the solution.

    Hello friend

    I'm not able to record the songs in music in IOS 9.3, please give me the solution.

    Click on album artwork, not the name of the song as you used to. the album art will fade to black revealing the old side thing.

  • Satellite A300-1tim: - issue of the multimedia keys

    Hello

    I have a Toshiba Satellite A300-1tim: PSAGCE-08X00GPL.
    After reinstalling Windows (Vista 32 bit), everything was fine until the moment when I wanted to turn off the backlight touch multimedia keys, those just above the keyboard (above the F1 to F12 keys).

    Mute, play/pause, stop and change of tracks in Windows Media Player buttons worked very well, except the second button - turning on WMP (but it was flashing after pressing).

    Some time ago, I had these configured buttons in a way the first person (currently silent) turned to the large backlit, second one - a shot on Winamp.

    I installed the package of added value and Toshiba Assist. Now, in Toshiba Assist, after choosing "Toshiba buttons" I only empty fields.
    When I chose to browse and dir: TBS try to choose any function (e.g. drive - disable backlit) it appears in the path and Description sections, I can type something in Option, but nothing appears in the section last but the most important: button name, has nothing to choose, blind fields on the list.

    Of course after you press the register there is no response when I press any button.
    Maybe someone has seen something like that?

    HWSetup I can turn back-lit, but this is not the point, I would do it with a single button as before.
    Value added package 1.1.19 installed with FeatureSelect.ini 1.1.14 (common failure of Toshiba) also chcked v. 1.1.14 (two versions available)
    BIOS 2.20
    Toshiba Assist 2.01.04

    Checked the registry and saw that I have all the keys in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Toshiba\TBS\DefaultSet ting\
    I don't want to dirty it so I did not change anything

    BTW, sory for my English: bravohelen:

    Please check these discussions on similar issues with the multimedia keys on Toshiba.
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=66372
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=36917

    * Solution: *.
    Uninstall the VAP
    clean the registry with Ccleaner
    reset

  • Tecra M5 does not record the date and time - battery RTC or CMOS checksum is inconsistent

    My Tecra M5 PTM50E reverend new does not record the date and time. I loaded RTC battery for 8 hours when electricity is on in the said user's manual. I don't know where is the problem. The BIOS settings are respect after power is on.

    When I change any value in the BIOS, the changes are saved properly but date & time system restored to their value 01/01/2000, 00:00 every time when I get out of turning off more of 2-3 min. Message "RTC battery is low or CMOS checksum is inconsistent.

    Press [F1] to set Date/time"does not appear when I power on the computer. Any suggestions?

    Hi guys

    Usually this problem appears only if the CMOS (real time clock) battery is empty or corrupted.
    The real time clock battery powers the internal clock in real time and calendar. It also maintains the system configuration. If the RTC battery is completely discharged, the system loses these data and the real-time clock. In this case, the message RTC battery is low or CMOS checksum is inconsistent appears.

    So I see only two possibilities:
    Either you will charge the battery for real-time clock, or you ask the technician for replacement.

    Generally, the battery must be completely charged after 8-9 hoers but try to connect the laptop to the power adapter for a long time.
    If it will not help solve the problem if you contact the ASP for the RTC battery replacement.

  • Apple Watch will record the fibrillation little finger?

    Will be Apple Watch monitor and record the heart rate so that an incident of fibrillation little finger would be visible after the fact by a doctor?

    While the screen of the watch displays your heart rate, it does not record as an instrument of EKG, as the watch is not a certified medical device. It will show your rates and if you feel that you have an incident, you can get it to save your rate once again, otherwise, it doesn't save specific intervals on a regular basis. It is not defined to be able to recognize a change in the rate, and then save.

  • Satellite L300: How to record the sound from a video without sound

    OK, yes the title of the topic is not entirely clear. Here's my situation: I just bought a Toshiba Satellite L300 with Vista; Realtek HD Audio Manager is installed. I would like to record the sound of a video file using Goldwave (a sound editing program); but I don't want to have to listen to the sound, while it's recording.

    On Windows XP, you used to be able to record the sound of the stereo mix, but put the speakers on mute and it would record again. Now I find that I have to turn my speakers in order to record anything on my computer. (Yes, I fiddled with all mute buttons, insured that all reading and recording devices are working and front volumes. My current solution is to plug my headphones on my laptop and to reactivate the sound from the speakers to register... and not put the headphones in my ears)

    I have now spent in the last 4 hours looking for a solution, and I must say it's especially ridiculous. I used Vista before and I've heard rumors of how many people hate, but honestly, how is it that now the audio capabilities seem to be reduced?

    Does anyone have a solution of how to record sound with the speakers on mute?

    Hello

    I also recorded the audio of a video file using another software called 32. and Win XP
    I also used the stereo mix, but to be honest I have never muted the speakers while recording.
    To be honest I n don't know if it's possible, but if you want to test, you can try the Realtek HD audio Manager in the access panel and set the speakers to cut on the first tab called speaker.
    But as I said, I've never tested and that's why I m not very good if it will work.

  • my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    HI - try the following steps:

    On your iPhone close application of activity and also, if it runs in the background, the health app (you can close open apps, including the app shows):

    -Double-click the Home button, and then drag upward on each of the app previews to close.

    It can help to restart your iPhone and your watch. Turn on both devices off the power together first, and then restart your iPhone before restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off;

    -To switch on: press and hold the side button until you see the Apple logo.

    If this does not resolve the problem, try next disconnect and rematching of your watch:

    -L'app shows on your iPhone shows backups automatically, including a new when the unpairing via the application.

    -Choose to restore the watch (backup restore) when provided the opportunity during the whole.

    -Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).

    - Pairing your Apple Watch and Support Apple - iPhone

    - Set up your Apple Watch - Apple Support

  • Need to record the timestamp after activation...

    Hello world! I am currently working on a .vi for some fire tests and I need help, try to understand this.

    I have some smoke detectors in place. The tension extends from-10,4 V to 10.4 V and I use FieldPoint

    When the voltage is at 10.4 the detector makes no noise, or, when the detector is less than 10,4 V turn off meaning that it detected smoke.

    This decline occurs when I need to be able to record the timestamp and display it on the front panel. I thought of ways to do it, but I can't think about all the right ways.

    If anyone has any suggestions that would be greatly appreciated.

    Thank you

    -Tanya

    Hi tanyasue327,

    Assuming you are using the FP Read VI in order to acquire the tension of your FieldPoint, you should be able to use the output from 'timestamp' read FP to get the time associated with the value being read. "" The 'timestamp' output will be in a double data type, but you can use the ' timestamp' feature in the functions ' programming ' Timiing palette to convert this DBL to a Time Stamp data type. ' ' Then you can view this at the front panel through a time stamp indicator and/or write to deposit using the screw found in the functions file IO ' programming ' palette file IO.

    I hope this helps!

    Aaron P

    National Instruments

    Technical sales engineer

    http://www.NI.com/support

  • problem of installing active sync 6.1 64-bit with active sync. you have a known issue with the compatibility. you have a work around where the way to get these two together?

    problem of installing active sync 6.1 64-bit with active sync.  you have a known issue with the compatibility. you have a work around where the way to get these two together?

    See: http://answers.microsoft.com/en-us/winphone/forum/wp6n-sync/microsoft-windows-mobile-device-center-61-driver/4cd26ba2-9583-47b7-b5e7-32b382cee0b2

  • How to record the numbers and words in the same file

    Hello:

    I did a vi where I record the spectrum and its integration in different positions of a two-dimensional net. I save the information in two spreadsheet with the comand "write to file measure."

    Now, I am recording the parameters initial positions, end X X and space between measurement points. I want a file with two columns that looks like:

    Initial position X 1000

    final position X 2000

    space 100

    But idon't know how to save the words and numbers in the same file.

    As I have to perform several steps I want to automatically choose the name of the file (something like parameters_1, parameters_2...)

    Thank you for your attention

    Hi bitxor.

    You can use all the functions of the WriteTotext file to write strings to a file.

    Then you could set up WriteToMeasurementFile' to add new data to existing files (instead of overwrite or renaming)...

    BTW. It is not a good idea to mix lvm files containing arbitrary spreadsheet data!

Maybe you are looking for

  • configurations of 2 channels with MCE

    I wish I had 2 configurations of channels with MCE. One antenna, the other with satelite. Is it possible to save different configurations and switch from one to another easily?

  • How to disable the download notification in the taskbar?

    In addition to the downloads window, I also have a small notification that appears in the bar to let me know that a download is finished. How can I disable it? I checked the tools, Control Panel, options/properties of the taskbar, as well as the Add-

  • Satellite P300-1GK cannot find the display driver for ATI Radeon HD 4650 Win XP

    Hello I can't find the driver for my ATI Radeon mobility HD 4650. There is an error on the toshiba Web site download page.My laptop is a P300-1GK (PSPCCE). The drivers are for the 3650 etc... not for the 4650. Where can I find the right idea? ATI Mob

  • Cannot set printer as default printer

    I have a new HP Photosmart 7510 e-all-in-one printer. I can't put this printer as the default printer. The OPERATION message MAY not NOT BE COMPLETED (error 0 x 00000709) the printer is offline. In my view, that I tried everything. Uninstall and rein

  • CS6 on MacBook installation without CD player?

    HelloMy son has CS6 Design Standard (student) and wants to make his iMac disable it and activate it on a new MacBook Pro. the problem is that there is no CD on the MacBook drive. Is there a download that can be used instead of the drive, and if so, e