Put the output of the cursor without delim

Hi all

I simpel strives to provide some output of Ms at the user, initially I did with separator ';', as in reality, the cursor line length will be different, but user insist to remove delimiiter, saying his C app will take care of him, probably it still do not understand it might be variable length. I just played and looks like always I can't put in DMBS_OUTPUT the entire line of the cursor anyway.

Can anyone advice what would be to circumvent this, probably I can fill up to fixed length with spases or zeros. I think that it still beter use with separator, not a big deal for C to take care of it.

Thank you all:
Trent


DDL for output columns:
NUMBER OF MM;
ID NUMBER;
SAL VARCHAR2 (100);

CREATE OR REPLACE PROCEDURE ZZZ_PROCEDURE AS
CURSOR CURS1 IS SELECT MM, JOBID, SAL CELLACC;
BEGIN
FOR recx IN CURS1 LOOP
DBMS_OUTPUT. Put_line (recx. MM | « ; » || recX. JOBID | « ; » || recX. SAL);
When the output CURS1% NOTFOUND;
END LOOP;
END;
/


and here's the output, always with delim:
1; 1; ID has the right to create and manage users
1; 1; ID has the right to create new cells
1; 1; ID has the right to split existing cells
1; 1; ID has the right to change existing cells
1; 1; ID has the right to change several cells at the same time

Few solutions can be as below

1. capture all results in a plsql table collection type and return it to the user. Ask him to have hash map C App to hold that the result set retruned by your procedure/function.

2. create a global temporary table (on delete rows commit). All the data in there inside the procedure. Return a cursor ref C app that will select the entire result set among your global temporary table.

Tags: Database

Similar Questions

  • Change the cursor without hiding the mouse

    Hello everyone
    I need to know if I can change the cursor without hiding the system mouse, I need to choose between the mouse and holding the hand and the normal cursor, the value by default in every where.

    Thank you
    Sall

    safago wrote:
    > what I need, is that I have have a botton and I want when I roll over t he dosnt change at hand I want to contol it.

    Give the instance name of button and disable the pointer above using: Btn.useHandCursor = false;

    --
    Best regards

    Urami

    --


    If you want to send me a message - DO NOT LAUGH at MY ADDRESS

  • pl/sql is it possible to put the cursor in where clause?

    Hello

    I have this stored proc that works very well when it is passed a single ID... now he must pass a list of IDS as in
    function (cursor (select id from table))...


    its definition is like this:
    RETURN ACTIV_PKG.tADR_ACTIV PIPELINED IS function ADR_ACTIV (pi_NO_SEQ IN sys_refcursor)
    CURSOR c1 (p_NOSEQ IN sys_refcursor) IS
    WITH Lateststate AS
    (SELECT RESUM_ETA.NO_SEQ_CLE_PRIM NO_SEQ_ADR,
    ADR.NO_SEQ,
    RESUM_ETA. COD_ETA
    OF RESUM_ETA
    JOIN INTERNAL ADR
    ON ADR.NO_SEQ_ADR = RESUM_ETA.NO_SEQ_CLE_PRIM
    WHERE RESUM_ETA. COD_TBL = "ADR1".

    and IN ADR.NO_SEQ (p_NOSEQODS)


    )...

    You see that 'and ADR.NO_SEQ IN (p_NOSEQODS)' lines using only those on the list filters...

    the idea is to use the cursor c1 like this:
    BEGIN
    FOR rec1 IN c1 (pi_NO_SEQ)
    LOOP
    ...

    Except that I get an error with (p_NOSEQODS) because it is not supported...

    y at - there a trick to this?

    Should I use table instead of cursor in where clause IN (...)?


    I have not in a list of IDS and put it in where clause of my cursor c1... How to get there?

    Thanks for the advice/links

    See you soon!

    the idea is to use the cursor c1 like this:
    FOR rec1 IN c1 (pi_NO_SEQ)

    Don't know if it's really less awkward that solution regexp, but we here are:

       cur   sys_refcursor;
    
       cursor c2 (cur sys_refcursor)
       is
          select   *
            from   emp
           where   empno in (select   trim (t.column_value.extract ('//text()'))
                               from   table (xmlsequence (cur)) t);
    begin
       open cur for
          select   7788 from dual
          union all
          select   7900 empno from dual;
    
       for c in c2 (cur)
       loop
          dbms_output.put_line (c.ename);
       end loop;
    end;
    /
    SCOTT
    JAMES
    PL/SQL procedure successfully completed.
    
  • The mouse freezes. Can move the cursor without response.

    I use early 2009 iMac with intel core 2 duo - 8 GB of memory.

    Have Safari with ElCaptain. My cursor can be moved with the mouse, but do not get

    any response when you point the cursor to change the page.

    Do you mean "by clicking the mouse button" rather than "pointer the cursor?

    What you're clicking ON? Safari browser buttons? Links on the page? If the links, this Web site? All Web sites?

    What brand and model of mouse? Wired or wireless? If wireless, have you changed the battery?

  • Automatically put the cursor in the text box to start

    Hi guys

    On the picture below you can see a small piece of my FP. It is a part of a bigger FP for a pretty huge electronics test. Each PCB got its own series number of barcode. I have a drive that is connected to my keyboard. Then when I read the code bar, numbers will appear in the text box on my FP, IF i first click on the text box. Then the user must only press START to do the test. My problem, or wish, if you like, is that when the program starts, or a test has completed, the cursor/marker is placed in the text box, so I just have to read bar codes.

    Currently, the user must click in the text box before you read the code bar. Is it possible that this can be done by Labview?

    I n node property checked yet, because I'm busy to something else right now at work. Just write in my break.

    Thanks for any help!

    PS I would have found the answer in the forum, but I am from Norway, and not all of the language of the computer is easy to translate since I use windows Norwegians. I belive that it is called cursor or marker however.

    Kind regards

    Even

    Hello

    The property node "KeyFocus" attached here brings the cursor automatically in the text box.  Set the "Val (Sgnl)" blank to trigger the event associated with this area of text (if necessary).

    I hope this helps.

  • Move the cursor without warning page expanded so I don't see any width.

    My touch pad has a hair trigger. It's worse when she plays the Queen of Spades when I don't say it. I was on a page, and move the mouse cursor, when for an unknown reason, the page expanded in size so I get is more the width. How to cancel it. I looked everywhere in my system, and I can't well the way to cancel it.

    Try to reset the zoom level on this page.

    See this:
    https://support.Mozilla.com/en-us/KB/page+zoom

  • Windows 10 most recent overview 10041, Firefox Nightly x 64 Technology, can run, can't access settings, cannot place the cursor in the URL box

    Have Windows over recent Technical Preview build 10041, Firefox Nightly x 64 39.0a1 10. Firefox will be launched, but when the browser seems no entry screen as possible. Cannot access settings, cannot put the cursor in the URL box. Tried unsuccessfully compatibility modes. I can not able to use this browser on Thursday, March 26, but it worked without problem Wednesday, March 25. My speculation would be that among the latest two updates nightly broke it. The displayed issue of Chrome, like Firefox does not.

    Hello, this seems to be a known bug that is being developed (bug #1147953).
    Please also note that windows 10 is in it's pre-release preview State and there are still changes the basic platform, it will not be fully supported by firefox and things are required to be wrong on occasion.

  • Can't stay in the browser without clicking on the mouse

    Sounds crazy. I'll start typing (as in this message box!) when my cursor disappears. I have to click my mouse to put the cursor in the browser (or else I care to) in order to continue.  So annoying, especially when you type a password and it is only showing asterisks, and you will have to start all over again! It happened just after the last update.  Not sure if this is the last update or if I need a new mouse.  I have the Apple wireless mouse.  I am running OS X El Capitan, Version 10.11.4, iMac late 2009, with keyboard and wireless mouse.  The situation gets really annoying.  I would like to delete e-mails from 5-10 at a time by holding down the control button.  I'll have to delete one at a time now because I have selected 10, the cursor disappears, I need to reselect all over again.  I'm ready to Chuck all that and just use my MacBook Pro, but I really like my big iMac monitor!

    Any suggestions would be greatly appreciated!

    Sharon

    Hi sharon289,

    Thank you for using communities Support from Apple! I'm sorry to hear that you are having this problem with your iMac. It is certainly unusual. To narrow down the possible causes of this problem / clicking on the slider downwards, you can try to boot mode safe (a start more limited mode which load only essential services). You can also try to test in a new test user account and see if the problem persists there as well. You can find information and the steps in the following articles useful:

    Try safe mode if your Mac does not end commissioning - Apple Support

    How to test a question in another account on your Mac - Apple Support

    Note: Safe Mode is not limited to troubleshooting startup problem, despite the framing of the article above.

    Concerning

  • I can not navigate via hotmail. I.E. I can bring up hotmail, but when I move the cursor on the junk mail and left click nothing happens.

    I can't eliminate or select the messages in the Inbox and display them. Again, I put the cursor on the message and left click and nothing happens.

    Hi JohnHudson22,

    1. don't you make changes on the computer before the show?

    2 is the issue limited to hotmail Web site only?

    Perform an optimization of Internet Explorer on the computer of the article.

    How to optimize Internet Explorer

    http://support.Microsoft.com/kb/936213/ro

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    You can also post your query in Windows Live Solution Center for better support.

    http://www.windowslivehelp.com/product.aspx?ProductID=1

  • value of the cursor relative to the source text

    I'm trying to parent a host of kerning on a slider on SliderControl, which is related to the source text on TrackingControlof the text .

    The real problem here is parenting to the value of the cursor in the Source text. I tried this expression on the cursor, without success:

    txt = comp("thisComp").layer ("TrackingControl") .text .sourceText;

    If (! isNaN (parseFloat (txt)))

    parseFloat (txt)

    on the other

    value

    The expression gives me any errors, but it seems also connect to anything!

    Reason:

    I build titles for first models, which allow only the source text to be edited. So, to control kerning inside the comp from the AE model, I need parents host kerning to a text layer, which can be edited directly from the effects of first Panel.

    Solved my problem, LOL.

    Just had to remove the first line and re selection icon to get the correct syntax 'thisComp '.

    txt = thisComp.layer("tracking").text.sourceText;

    If (! isNaN (parseFloat (txt)))

    parseFloat (txt)

    on the other

    value

  • How can I put the top of the index page when I moved in my area?

    could be confusing question, sorry.

    Just a click on this page and read the topic please.

    http://bigshouting.cafe24.com/

    When you click, you could see not the top of the page to index but low...

    How can I fix?

    Can you guys explain with procedure?

    The problem is that you have a form at the bottom of the page that has a field set to 'auto '. This means that when the page loads it will automatically put the cursor in the box and of course to do that, she'll have to scroll down to it.

    You must remove the automatic point of this form field or move the shape to the top of the page.

  • How change/shrink the précis of the cursor?

    Hello!

    I use Photoshop CC 2014 to draw and recently bought a 32 "hd tv (1360 x 768 definition) to use as a monitor. It is very good to draw on a larger screen, but something is annoying me... Is the size of the cursor. I was used to my 15 "full hd screen laptop, which makes each smaller icon, so when I use the 32" inches the size of precision cursor sometimes annoys me. And I do not use the brush cursor outline... In any case, IS there WAY TO REDUCE THE PRÉCIS of the CURSOR WITHOUT CHANGING THE RESOLUTION (WHICH IS to RECOMMENDED here)? OR PERHAPS TO CHANGE THE ICON OF THE PRECISE CURSOR? IT would BE GREAT IF it WAS REALLY a PRÉCIS of the CURSOR AS a POINT (AS IN KRITA).

    Well, thank you very much in advance for any support!

    Download lazy Nezumi, which has a cursor on touch down one-touch disable.  LN must be one of the most useful Photoshop Add ons id, it allows to draw, and the support is amazing.

    Lazy Nezumi Pro - mouse and pen smoothing for PhotoShop and other applications

    I had a problem on Christmas day (my wife was in the hospital service).  I couldn't see the screen of Ln(x), and when I turned it works, it seemed embarks on the upper left corner of my screen.  I went to the site of LN and saw a Chat feature.  Now seen it was Christmas day and I'm in New Zealand, I didn't expect a response, but try anyway.  A minute later Guillaume (the man behind LN) is online and spent 15 minutes fixing my problem.  Not only he was extraordinarily useful, like me, he was also _working_ on Christmas day.

    Incidentally, if you ever lose the screen LN, Open regedit and do:

    HKEYCURRENTUSER/software/lazy Nezumi Nezumi/lazy Pro Main Window

    And change the value of "pos" @point (0,0)

    Note: you must close LN for this work.  POS will have at least a negative value if it is parked off the screen. (0,0) it will open in the upper left corner of your main screen.

    Note 2: I hate the cursor disable function to Touch Down and always work with it turned off.

  • Can u put the Apple Watch mode bedside table without getting the dock?

    I Haz one question I am about to get a Apple Watch for my birthday

    question, version 1

    can u put the Apple Watch mode bedside table with the original charger, or get the dock from Apple?

    Hello

    Yes - you can put Apple Watch mode table bedside without having to buy the Apple (or other) docking station.

    To place your watch mode bedside table:

    • Make sure the option is turned on: on your iPhone, in the application of the watch, go to My Watch (tab) > General > scroll mode bedside table.
    • Connect your watch to its charger (with power connected):
      • Place your watch on the side with the buttons facing up.
    • To see the time, tap the screen or slightly shift your watch:
      • By design, when the watch is in this mode, pushing even your bedside table may be sufficient.
    • If you also set an alarm with the alarm clock app on your watch, it will warn you at the specified time.

    More information:

    Use the mode table bedside on your Apple Watch - Apple Support

  • When I put the PC in each Stand By, or Hibernate the PC often comes back to life his own, without my mouse movement

    original title: problems with Stand By and Hibernate

    I have a desktop Compaq 6140EA with BIOS current under XP SP3 (updated) and all driver updates applied.  When I put the PC in each Stand By or Hibernate the PC often comes back to life on its own, without my mouse movement / hit a key (Stand By) or touch the power button (Hibernate).  I have reset the BIOS to default settings. no improvement.  I've selected all the power management always we and tried the ACPI fixed feature off installation and power button / stop.  No improvement.    The problem seems to occur less if I turned off my modem broadband Ethernet connected before entering Stand By / Hibernate.

    I wonder if I got bad wake-on-LAN and if so, how to disable it?

    Thanks, but I already did those things.  But I seem to have found the answer: I pointed out that the problem seems to be related to the modem broadband.  I found KB/810719 related to this issue.  I followed the instructions: in Device Manager / network adapters / properties / power management check only allow management Stations to bring the computer from sleep mode.  That fixed it.

  • When I move the cursor over an item, it activates only without me clicking on

    When I move the cursor over an item, it activates only without me clicking on

    Hello

    If a mouse (or if you use a touch screen and a mouse)

    Start - computer, or Windows Explorer - Tools - Folder Options - general tab - check the
    Double-click to open an item - APPLY / OK

    Control Panel - mouse - look for hover or click Automatic similar settings according to your mouse.

    When a TouchPad

    Look in the Notification area next to the clock for all TouchPad control program.

    Control Panel - mouse - also look for it TouchPad (mine is on the device however settings tab
    other brands and maybe on the other tabs and more than one). There are usually the parameters that
    can determine if a click, double click, hover or can open or close a program.

    Start - computer, or Windows Explorer - Tools - Folder Options - general tab - check the
    Double-click to open an item - APPLY / OK

    If some people are well positioned can change to some other setting if you plan to leave
    them that way and then change again.

    I hope this helps.
    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for

  • IOS 10 notes keeps quitting

    Just updated to iOS 10 on my iPhone 6.  Unable to get the notes application wanting to work more.  He launched then closes unexpectedly within 5 seconds.  Tried a reboot and still get the same issue.  Is what someone else is or whether it is a fix or

  • After the last time that I've updated if I do scroll down a page and back to top, my text is all messed up.

    After you download the new firefox, when I scroll a page, if I scroll to the top of the text on the page appears garbled. Looks like I'm under water display. I tried to change the autour display settings, but that did not help. don't know what else t

  • Case scratched on the Satellite A100-847

    Hello due to the incompetence of a technical guy in the place, I bought the laptop from, my top panel (rear of the screen) is scratched.Is it possible that it can be replaced? Thank you.

  • Installations__ and useless updates

    Before that I have read the forums, I was oblivious to what was going on inside my laptop. Now, with a minimum of acquired knowledge (which is always dangerous), I am aware of the many unnecessary updates and facilities microsoft snuck in on me throu

  • Lost my Photoshop 6 when I upgraded to CC

    Had a copy of PS6 on my OS but lost when I registered on CC.  Was difficult to download, use the cleaning tool, so perhaps inadvertently deleted.  Please tell us how to retrieve or recharge it.