SPOOL with the right record length

I have implemented a SQL script to download a "package" and "package body" definition into a file, in a windows environment.
To avoid "truncate" lines (split in two lines) in the file , I use the "SET LINESIZE v_max_length", where v_max_length is the max length of a record in the package.
But if a record is " a:=1;", in the file I save "a:=1; ...............................", a record of "v_max_length" length.
How can I get the right length?
Example:
SET LINESIZE 200
SPOOL my_package.sql
select RTRIM(TEXT) from ALL_SOURCE where name ='MY_PACKAGE' and TYPE=''PACKAGE'' order by LINE asc;
SPOOL OFF;
Edited by: pacoKAS on 25-mar-2010 7:23
Edited by: pacoKAS on 25-mar-2010 7:24

Why don't you just set linesize to 1000 and
SET TRIMSPOOL ON
Then you get optimal output for each line
Regards
Marcus

Similar Messages

  • I have an iPhone 4 on IOS5. I signed up for itunes match. After everything uploaded to the cloud, my songs are messed up. I'll select a song and the title will show with the right art work but a different song will start playing.  Anyone have a solution?

    I have an iPhone 4 on IOS5. I signed up for itunes match. After everything uploaded to the cloud, my songs are messed up. I'll select a song and the title will show with the right art work but a different song will start playing.  Some songs won't play at all even though they do appear in the itunes store. The artwork almost always shows u blank until you turn it to landscape then it will appear. Anyone know what's going on?

    I have found that scrolling through the album list (past albums without art) triggers the progress wheel next to the wifi symbol. You can scroll quickly through the whole collection and then wait! Artwork will appear gradually...
    However, repeat visits to the Music App might initially show no artwork again, but it might spontaneously appear more quickly this time. The bad news is that the whole Music App is now sluggish as ****...

  • [SOLVED] Thunar 1.6 doesn't drag-and-drop with the right mouse button

    Hallo all.
    It might be something I've done (though I did delete my ~/.config/Thunar directory before upgrading), but Thunar doesn't let me drag-and-drop with the right mouse button, thus stopping me from copying something instead of moving it, etc. Has anyone else had that too?
    Last edited by GordonGR (2012-12-28 14:34:20)

    Joel wrote:
    anonymous_user wrote:Is it supposed to be with the right-mouse button? I always thought drag and drop was done with the left button?
    Could be right-hand user
    Come on! Read what GordonGR wrote!
    Microsoft Windows, Nautilus, the Haiku Tracker, and probably many other file managers have a feature where, when you right-click or middle-click and drag an icon to a new location, a pop-up menu appears and asks what you'd like to do (Move, Copy, Link). I thought I used to use this feature in Thunar too but it seems to have stopped working in recent versions. Has anyone else had any experience with it?
    EDIT: Here's random blogger talking about the feature in an older version of Thunar: http://jeromeg.blog.free.fr/index.php?p … and-tricks So that's good, I wasn't just imagining the feature.
    Last edited by drcouzelis (2012-12-12 03:45:05)

  • Please help me with the accounting records of iTunes. At step in placing credit card details are asked to contact iTunes Support

    Please help me with the accounting records of iTunes. At step in placing credit card details are asked to contact iTunes Support

    Brenda, the easiest way to contact the support team is thru the iTunes Customer Service website:
    http://www.apple.com/support/itunes/contact/

  • Captivate 8 Tin Can - problem communicating with the learning record store

    When publishing a course to Tin Can format, what should I enter in the 'Identifier' field?
    If I publish with the default 'Course_ID1' text, I get an error when launching the course on our LMS. Errors says "There was a problem communicating with the learning record store."

    Hello,
    Welcome to Adobe Forums.
    Please share your contact information via [email protected]
    Thanks,
    Vikram Gaur
    Adobe Support

  • Has photoshop started using EXIF orientation to display photos with the right rotation?

    Has photoshop updated recently and started using EXIF orientation to display photographs with the right rotation?
    I thought in the past it ignored the EXIF orientation, but it seems like it is now using it. Does anyone know if you can tell it not to use this information when displaying the image on the screen?
    Please help!!

    Duh! My apologize for not providing the important details.
    The system model I have tested on:
    Mac Pro Early 2009
    2.66Ghz 10GB Memory
    Dual NVIDIA GeForce GT 120 512MB Cards (original cards)
    Tested on 10.7.4-10.7.5, 10.8.2
    Crash Report can be located here:
    http://pastebin.com/aeZ2kYvw  (this was using version 10.7.4)
    It's just odd since last year we've been using this setup fine with v13.0 and now with v.13.0.3 it doesn't work. The reason for our two independent video cards is so that one card sends video to the monitor screen of the teacher, the second card sends a video signal that can be switched to either a projector or 8 lcd monitors in the lab (we've invested a lot of video infrastructure for this lab). When we tested using a single card for both outputs we would get an odd interlace horizontal thin bar that would go top to bottom ever so slowly. This would appear either when looking at video or when moving windows around. Doing the dual video cards solved that issue for us and have been using the setup since 2009.

  • Tom Tom app that was purchased now showing up to buy. Deleted the App as requested before reinstalling it for the update and now the Apps Store says I have to purchase it again. Ive tried resetting the phone. Ive ensured Im signed in with the right userID

    Hey all, Ive tried my best to find a solution to my problem so hopefully someone can help.
    When my Tom Tom Sat Nav app said I should delete the App before reinstalling the App but when I tried too the App was showing up as not purchased and had the price. Ive tried turning the phone on and off. Resetting the Phone. Ensuing that I am signed in with the right User ID. Ive tried changing the location back to the one I purchased the App from as well. Now Im really sure what to do. Any help would be much appreciated.

    No it does not show their either.
    Just to be sure how do I know iClouds os on?
    Thank you so much for this help.

  • I have a school license but i can't upgrade to full versions of my apps. I'm logged in with the right account and on my profile i can see the license is activated.

    i have a school license but i can't upgrade to full versions of my apps. I'm logged in with the right account and on my profile i can see the license is activated.

    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • When I set up my email address on my new IPad, I keyed it in worng.  How do I correct with the right email address

    When I keyed in my email address on my new IPad, I keyed it in wrong.  How can I correct it with the right email address?

    Start from scratch again with the correct Apple ID (email address)
    Settings>General>Reset>Erase all content and settings

  • Problem with the right and left Channel

    Hey Guys,
    i bought a few days ago the X-Fi Titanium PCIe Card. Now my problem:?
    After i installed the drivers i noticed that i can hear the sounds of the left speaker also in the right speaker of my Headphone (Sennheiser PC60). I made a channel test and here the same. The guy sais "Left Channel" and i hear it on both speakers. The same with the right channel.
    I made a clean restart and uninstalled all Drivers and Applications and reinstalled them: -> Same problem
    I made a clean Windows installation (Vista x64): -> Same problem
    i tried the Daniel_K-Driver: -> Same problem
    Have someone an idea to solve that problem?
    greets
    kybo

    When Soundbooth was first developed, it had a few extra things than what were not available in Audition. However, Audition remained the more high end sound editing tool. Soundbooth was locked to a multiple channel editing approach. In Audition, single editing is easy - you simply click the L or R at the right end of the sound channel to lock it and then you can edit the other channel only.
    Soundbooth has been discontinued and Audition now has taken its place from CS6 to the Creative Cloud.
    The above is some background info. To your current situation, you can use a workaround like:
    * Export your audio file to separate channels by File > Export > Channels to mono files.
    You will get 2 files with _L and _R suffix.
    You can then edit them separately. You can go from Mono to Stereo by the following step.
    Or
    * Choose - Edit > Insert > Channels  into New Multitrack file.
    That will separate the Left and Right Channels and add them to a new multitrack file.
    You can then click the Edit link at the top right of the channel to edit it.
    You can then save that file as a new audio file.
    Dean

  • For another program (WASY WGeo) after the working with PS CC I need a picture with the right colours in the end with 256 colours in 8 bit per picture - I still got it until yesterday. I don´t know what I´ve done wrong in PS CC but I´m still working in mod

    For another program (WASY WGeo) after the working with PS CC I need a picture with the right colours in the end with 256 colours in 8 bit per picture - I still got it until yesterday. I don´t know what I´ve done wrong in PS CC but I´m still working in mode with 8 bit RYB. I controlled my result with Irfan View: it´s a picture with 16,7 million colours and 56 bit pp.

    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • Iphoto causes half my screen to be reversed (screen split with the right side half now on the left side) and computer freezes. Any suggestions about a fix?

    iphoto causes half my screen to be reversed (screen split with the right side half now on the left side and the left hand side on the right.) and screen gets multiple blurry copies. Also the computer freezes. Any suggestions about a fix? Can I delete iphoto and reinstall? If so, will I lose my photos?

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • Running the net or sc commands with the rights of the local System

    Hi
    In Windows 7 SP1, how do I run the net or sc commands with the rights of the local System?
    Thanks
    Bye
    Balubeto

    Hi,
    I agree with
    T. Kujala , it's easy to achieve this goal with PsExec.exe, the tool is easy to download and use.
    http://blogs.technet.com/b/askds/archive/2008/10/22/getting-a-cmd-prompt-as-system-in-windows-vista-and-windows-server-2008.aspx
    If you don't want to use external utilities, then this link below might give you some hints
    http://blogs.msdn.com/b/adioltean/archive/2004/11/27/271063.aspx
    Yolanda Zhu
    TechNet Community Support

  • How do you get the album pictures displayed with the right songs on my iphone 5

    how do you get the album pictures displayed with the right songs on my i phone 5?

    I have the same problem but i only have iphone 4s its only jsut started in the last 2 weeks or so

  • Stop with the right-click answers. Reload is still missing from my View menu.

    Please stop with the "right-click" solutions. I don't have a mouse that does a "right-click."
    Also, this forum is so hard to use I can't even find my original post so I am starting another one.
    How do I get the "reload" function back into my View menu? Please do NOT tell me to "right-click," that is of no use to me.

    Hi again pvitari, <br />Sorry you still have problems. Possibly you do not have the option as previously, but you do have workable options to reload webpages using mouse clicks.
    *Please confirm or explain ?
    <img src="https://support.cdn.mozilla.net/media/uploads/gallery/images/2012-01-03-13-00-12-3d6b4e.png">
    *Do you not have a curved blue arrow on the end of the address bar as shown in the above image ?
    Your icons may not look exactly like that and will possibly depend on any customising you may have done. The arrow is only available when appropriate and could be: a cross to stop loading, or an arrow to navigate to a site.
    See the article
    *[[Customize navigation buttons like back, home, bookmarks and reload]]
    #Do you have the curved blue arrow that you are able to click with a mouse to reload your webpage ?
    #Does F5 work to reload ?
    *Possibly if you attach a screenshot it will help us understand what you see <br /> [[How do I create a screenshot of my problem?]] <br /> [[How to make screenshots]]

Maybe you are looking for

  • Going to a certain line in a RandomAccessFile?

    Hi, this doesn't seem to belong anywhere else, since Java doesn't have a forum on I/O. This is pretty simple, but is there any way to go to a certain line in a RandomAccessFile (such as a text file)? seek() doesn't work, it only starts from the chara

  • Lag/Pause believed to be caused by RAID [SOLVED]

    I have installed arch about 4 months back and ever since been experience and Lag/Freezing issue which occurs anywhere from 1-30 seconds at a time. I have been looking for solutions and fixing issues I have found with my system in order to find a solu

  • Root Password Recovery Question

    Hello all, I have a question regarding root password recovery in Solaris 10. The Server is a Sun Fire T1000; it has no CD-Rom drive, as well as no USB ports. One of our data architects who is the main user of this server has locked himself out of roo

  • Number of Copies Question

    Hi All, Is there an easy way to control the no.of copies created or printed? Here's an example scenario: -- Managers make request for travel invoice report, some ask for 2 copies, some ask for 3 copies ect. -- When the report is run, it should pick u

  • Cannot update my one package

    Hello All This morning I tried to update my package : freestroke-git First I had some error related to lowercare. Finally I end up with this PKGBUILD But when I tried to update it I have : «error: failed to upload freestroke-0.0.0-2.src.tar.gz: You a