Change the cursor data returned by a function

Hi I'm trying to change the data that has been loaded in a service using the sql below

create or replace PACKAGE held_types
AS
TYPE t_held_cursor IS REF CURSOR;
END;

create or replace
FUNCTION F_PROC_SEARCH_BLOB2 (carmela_pepe VARCHAR2, in_length INTEGER, in_offset INTEGER)
RETURN held_types.t_held_cursor
AS

v_held_cur held_types.t_held_cursor;
v_held_rec v_held_cur % ROWTYPE;
v_lob BLOB: = EMPTY_BLOB();
v_pos_searchStart INTEGER: = 0;
v_pos_searchEnd INTEGER: = 0;

BEGIN
OPEN FOR V_held_cur
Select 'searchplaceholder' place_holder, id, creation_date
of une_table

SEEK v_held_cur INTO v_held_rec;

While v_held_cur % FOUND
LOOP
-Another request here
then v_held_rec.place_holder: = a few returned the query varachar

SEEK v_held_cur INTO v_held_rec;
END LOOP;

CLOSE V_held_cur;

RETURN v_held_cur;
END;

What is the right way to do this? I can't join the 2nd query that loaded in the cursor, I have to do a little work with blobs as well.
For the moment, I get compilation errors to try to define v_held_cur % ROWTYPE;

Any help greatly appreciated

Depends on the amount of data you are talking about.
If there is "a lot" of data then a collection would be a bad choice to memory, in which case I would, instead, process the data in a global temporary table and leave the code calling to use the data in this table.

If it's just a small amount of data then Yes, a collection would be nice.

Tags: Database

Similar Questions

  • change the current date for testing purposes.

    For testing purposes, we must be able to set the current date, mainly so that we can test 3 successive months, in about a period of 15 days.
    It's siebel-web-determinations (10,2) runnning under tomcat

    Other than changing the server clock or
    replace all occurrences in the rules where the date function perceive is used with a placeholder attribute as the temp "today's date"
    is there another way to change the current date for testing purposes?

    Thank you
    Allan

    Hi Allan

    An alternative would be to use the current date only once in your rules, for example: the date of assessment = the current date.

    Then, change the rest of your rules to use the valuation date instead of the current date. It works perfectly in production.

    If you set the value of the valuation date seeding date you want to use Siebel, then the current date function will not be triggered (you set a deducted directly attribute, so the rule proving this attribute will not run).

    See you soon

    Anthony

  • Change the cursor to cursor hand construction

    I work with CS4 with AS 3. I defined a MovieClip library symbol. I want the cursor to hand when the mouse is on it.

    The scene has a single instance of the symbol with the name "btn".

    I tried the following in the first frame of the symbol:

    this.addEventListener (MouseEvent.ROLL_OVER, overHand);
    function overHand(e:MouseEvent):void {}
    Mouse.Cursor = "main";
    }

    There was an error. Then, I tried this in the first frame of the scene:


    this.btn.addEventListener (MouseEvent.ROLL_OVER, overHand);
    function overHand(e:MouseEvent):void {}
    this.btn.Mouse.cursor = "main";
    }

    This gives an error on each roll on. Can someone tell me how to change the cursor by hand for the MovieClip?

    You don't need to make it happen in the case where the code management.  Just assign:

    btn.buttonMode = true;

  • Open the new browser works, but cannot change the cursor to reflect that it is clickable

    Here is the link to my site - www.localwally.com/napatest3

    I wanted to make all the pictures on the clickable site for a larger image - but I didn't have to create separate Web pages for each of them. And I went to the BEHAVIORS added "Open the browser click" - it works, but I can't find a way to change the cursor to the arrow by hand to show people that this is a clickable link. Here is the code below - any ideas? Don't you worry that when you click on it it does not return a pic. I didn't upload them for this test. You should get the new browser without content inside.

    Also, I would love to add a caption to the photo, but does not know who is!

    Thanks for your help - Gary


    "< td width ="419"height ="318"> < div align ="left"> < span class ="style25' ondblclick = "MM_swapImage ('Image1 '", 'reynoldsfamily_800.jpg', 1) "> < img src ="Renolds_400.jpg"width ="400"height ="300"id ="Image1"onclick =" MM_openBrWindow ('reynoldsfamily_1000.jpg', 'ReynoldsFamily ',' width = 1000, height = 70 0') "/ > < br / >
    Sipping a chard at Reynolds Family Winery, a beautiful look on the Silverado Trail < / span >

    > Is there an easy way to create this code in other
    > that cut and paste?

    Learn the HTML is the most important thing you can do if you are serious
    on the use of DW.

    There is an easy way to do it-

    * Select the image that triggers the behavior
    * Enter it ' # ' in the field of the property inspector link
    * When you tab off the field link, you should see appear on the
    Tag (at the bottom of the document pane) selector
    * Click the tag in the tag selector
    and apply the behavior

    That you will get 90% of the way. There are two additional things you
    can do after that-

    1 copy the link in the image you pop up and paste it instead of
    the "#", you added to the link field
    2. Add '; return false;' at the end of the behavior

    I believe that David Powers has an extension called "Smart Link" that will do
    These for you two. Google it...

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "garynng" wrote in message
    News:g3h10m$OIJ$1@forums. Macromedia.com...
    > Thanks - a follow-up question - y at - it an easy way to create this code
    > other
    > that cut and paste? I have a lot of pictures on other pages
    > and
    > need an easy way to do it. I created the original code by clicking on
    > the
    > Option of behaviors on the right side of DW.
    >
    > Really, thanks for your help. My daughter told me about using DW versus
    > coding myself the old-fashioned way and I'm happy she did, but it's a bear
    > try to learn this stuff!
    >

  • Change the creation date

    I have different PHP files in different folders. I want to organize them by Date of creation. But I need to change the creation date in some cases. Can I do this?

    I select a file and the file > read > creation:

    but I can't change that here. Is it possible to change the date in "Create."

    The date of creation of a file cannot be changed.

  • How can I change the cursor blink rate? Firefox 3.6.10 on Ubuntu.

    How can I change the cursor blink rate? Firefox 3.6.10 on Ubuntu.

    See this old thread forum mozillaZine on this subject:

    (please don't post in these old threads)

    See also:

    To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.

    If you see a warning then you can confirm that you want to access this page.

  • How can I change the cursor in an individual account (and not the owner) a computer to my client?

    How can I change the cursor in an individual account (and not the owner) a computer to my client?

    Hi MichaelConner1,

    You can keep the individual mouse for each user account on the computer.

    Log on to each user account and then change the mouse pointer scheme using the link below and check if it helps.

    http://www.Microsoft.com/enable/training/WindowsXP/pointerscheme.aspx

  • Animate dashboard. How to change the cursor of the animated symbol (no picture)?

    Hi, could you tell me please how to change the cursor in internship at the animation symbol and label goto inside when click on and release.

    For example, I want to create hammer striking the rock, my cursor should change when I'm on the stage and the hit, when I am pressing the button of the mouse and goto the first position when released.

    Thanks for the help =)

    Hello

    This demo file can help you: can I use a symbol animated acting as a mouse cursor?

  • My themes have disappeared. I have not changed the login data.  Just save freezes also. Cannot save new themes. Please help.

    My themes have disappeared.


    I have not changed the login data.


    Also cannot save new themes.  Just sitting save / freezes.


    Please help.

    Hello

    have you tried to connect to the Adobe Color CC and see if you can find them on the site? Have you checked that you are in the right library? I hope looking at Community under your themes page you will recover what seems to be lost. Keep us updated!

  • Cannot change my billing information and change the expiration date of my credit card

    Hello, I try to change the expiration date of my credit card, but get an error message that my address is incorrect. The system gives me another address but with both I get an error message.

    After that I try to find https://helpx.adobe.com/nl/contact.html help to know that I can not connect on this site with my Adobe ID

    So how can he get a contact with someone at adobe?

    Hi Marc

    Refer to manage your creative cloud membership

    You can contact support Contact Customer Care

    Thank you

    Varun

  • change the payment date?

    I would like to change my date of payment of the 19th of the month for the 1st of the following month, then 1 from there. Is this possible?

    Hi Mathieu,

    It is not a way to change the billing date, it is generally associated with the day the ordering process. One way to change this would be to cancel the current subscription by contacting the support team:

    Contact the customer service

    place a new order on the date that you want to be billed.

    Kind regards

    Megha Rawat

  • Dynamically change the cursor?

    Hello

    I want to be able to change the cursor that appears when I rollover text. Basically, I have text/button that can only be clicked when another action has been performed, I wish that this button at the start have the default cursor, and then change the cursor/pointer when the user has run this other action.

    Is it possible to dynamically change the cursor through the code?

    Thanks for your help!

    $("button").css({'cursor':'default'});)

    More information: cursor CSS property and HTML DOM Style cursor property

  • Change the cursor

    How can I change the slider in Photoshop Elements 8?  When I use a tool, I get triple sliders.  How can I change the cursor?

    Usually, if your on a windows system, then scaling the dpi is set to other than default.

    Even if below organizing says the steps to fix the problem are the same as for the triple slider:

    http://helpx.Adobe.com/Photoshop-elements/KB/menus-missing-elements-8-9.html

  • Change the billing Date

    HI -.

    Good, bare with me, please.

    I started a student subscription cloud Sep 6 this year for $30 / month (one of the best thngs I ever made). I am charged me 6, that was wonderful, I am on a fixed income and get my check 3 and always had money in my account to pay you. Then in November, you had a special for students $ 20 / month, and I asked the forum if it would be possible to change my subscription to take advantage of the 30% discount you provided students and told me that Yes, that shouldn't be a problem. Well I don't have any set this November 30. My former student subscription, charged the 6, was 'downgraded' to a free trial and my new paid subscription began on June 30 with an invoice date of the 30th. Not good. Often, I have too much month left at the end of the money. All I want to do is spend my billing date of the 30th of the month to sometimes shortly after the 3rd of the month to ensure that you get paid before I spend the money on something stupid, like food or tuition. My old subscription $30 / mo was released by the 6th, but it was canceled, and now I'm stuck with June 30 as the date of billing. Is there a possible way to change the day of the month that I am charged? I'd even pay a 'fit' of the difference of the week (which, technically, I already paid for but, to save the $10 / month, I'd be willing to do). If you click on my credit card when there is no money in it, the taxes would negate the savings that I'm hoping to get my change my subscription.

    Thanks for your time-

    -Sharon

    Hello Sharon,

    It is not an easy way to change the billing date, it is generally associated with the day the ordering process. One way to change this (that I know) would be to contact the close customer service the date to which you wish to be billed and have them install a new order.

    -Dave

  • How to change the cursor to a custom

    I want to change the cursor to a custom, I used the following method:

    AVCursor cursor = LoadCursor (AVCursor) (gHINSTANCE, MAKEINTRESOURCE (IDC_CURSOR1));
    AVSysSetCursor (cursor);

    He succeeded, but the custom cursor is too small (the image of the IDC_CURSOR1 resource is large enough).

    I want to achieve such an effect:

    When we choose a 'Business Standard stamp', as an 'APPROVER'. The cursor changed to an overview of "APPROVER".

    Thanks in advance for any help!

    The call of the LoadCursor() API on Windows only supports small sliders, like ASSysSetCursor().  You must use a completely different method involving strictly platform API.

Maybe you are looking for