Benefits of the Collection on the slider

Hi all

Cursor behaves like a pointer to the result of the query.
Collections stores the result of the query.
But,
What are the benefits of the collection on the slider?
I Googled it but did not find the exact info.

THX

Nina wrote:
Hello
Each has its own use. They are not compete but complement them.
It must be used, mix and match, together.

If the collections were all this unnecessary while they would not have existed, and neither would BULK COLLECT.

In COLLECTIONs, you have some IMBRIQUEES TABLES, ASSOCIATIVE and VARRAY. The VARRAY is probably still there for backward compatibility, but the other 2 are extremely useful.

Points to consider:
(a) collect bulk is much faster than the CURSOR loop
(b) Once charged collection can be manipulated in memory. Faster but heavy on the PGA.

Faster than what exactly? Certainly not faster than doing it right in SQL. Faster than line by line cursor loop treatment? Depends on what 'manipulation' is necessary.

(c) NESTED tables allow you to organize data, can be used with the cursor.
(d) the string to table and table yo string (like java String.split method) possible only with the Collection. Not possible without collect / array

Also possible with pure SQL.

I can't imagine a world without COLLECTIONs. I use them extensively, everything as I use the SLIDERS.

I had a few uses for them... but only a few. Most of the work is done on the database using SQL.

Not convinced yet? Details of OWA_UTIL, APEX_APPLICATION_GLOBAL, DBMS_SQL, etc.. They have associative arrays in all directions.
In fact the Apex Application would not come to existence with associated tables; they are used left, right and Center in

All the negative opinions expressed on the Collections only reflects ignorance.

'How to make friends and influence people' by Dominique

Tags: Database

Similar Questions

  • Using the slider for and BULK COLLECT INTO

    Hi all
    in this case we prefer to use the cursor AND the cursor with the LOOSE COLLECTION? The following contains two block this same query where used FOR the slider, the other is using COLLECT LOOSE. The task that is running better given in the existing? How do we measure performance between these two?

    I use the example of HR schema:
    declare
    l_start number;
    BEGIN
    l_start:= DBMS_UTILITY.get_time;
    dbms_lock.sleep(1);
    FOR employee IN (SELECT e.last_name, j.job_title FROM employees e,jobs j 
    where e.job_id=j.job_id and  e.job_id LIKE '%CLERK%' AND e.manager_id > 120 ORDER BY e.last_name)
    LOOP
      DBMS_OUTPUT.PUT_LINE ('Name = ' || employee.last_name || ', Job = ' || employee.job_title);
    END LOOP;
    DBMS_OUTPUT.put_line('total time: ' || to_char(DBMS_UTILITY.get_time - l_start) || ' hsecs');
    END;
    /
     
    declare
    l_start number;
    type rec_type is table of varchar2(20);
    name_rec rec_type;
    job_rec rec_type;
    begin
    l_start:= DBMS_UTILITY.get_time;
    dbms_lock.sleep(1);
    SELECT e.last_name, j.job_title bulk collect into name_rec,job_rec FROM employees e,jobs j 
    where e.job_id=j.job_id and  e.job_id LIKE '%CLERK%' AND e.manager_id > 120 ORDER BY e.last_name;
    for j in name_rec.first..name_rec.last loop
      DBMS_OUTPUT.PUT_LINE ('Name = ' || name_rec(j) || ', Job = ' || job_rec(j));
    END LOOP;
    DBMS_OUTPUT.put_line('total time: ' || to_char(DBMS_UTILITY.get_time - l_start) || ' hsecs');
    end;
    /
    In this code, I put a timestamp in each block, but they are useless, since they both launched virtually instantaneous...

    Best regards
    Val

    (1) bulk fired fresh primary use is to reduce the change of context between sql and pl sql engine.
    (2), you should always use LIMIT when it comes with bulk collect, this does not increase the load on the PGA.
    (3) and the ideal number of BOUNDARY lines is 100.

    Also if you really want to compare performance improvements between the two different approaches to sql pl try to use the package of runstats tom Kyte

    http://asktom.Oracle.com/pls/Apex/asktom.download_file?p_file=6551378329289980701

  • Calculation of the position of the slider is not working properly with a sensible step

    Hello

    I already wrote in another thread on this subject, but my problem is slightly different from the other discussion, so here's one more time:

    I want to display a symbol next to the slider. He should stay there as in this example here: http://sandbox.junglecrowd.org/static/publish/web/static.html

    When you use a sensible step (which is essential for my project, because I need width of 100% on all window sizes) ot the symbol placement is dependent on the window size and position on the screen. Here is an example of the problem:

    http://sandbox.junglecrowd.org/responsive/publish/Web/responsive.html

    Then, collecting the coordinates to the breast of EA seems not to be the right way... Or does anyone know a solution to compensate for the changes?

    My idea would be to get the coordinates outside the EA... would it be possible? And in what way?

    .. of course, other solutions are welcome!

    Here is my code... As you can see I am very new to EA and coding...

    Thank you!

    BTW: I read a lot of things in this forum before because of other problems, and I found many solutions: thank you all!

    CompositionReady

    SYM.createsym = function() {}

    var position = sym.$("box").show ();

    position2 var = sym.$("text").show ();

    position. CSS({)

    Top: sym.posY, left:sym.posX

    });

    position2. CSS({)

    Top: sym.posY, left:sym.posX

    });

    };

    Stage.MouseMove

    sym.posX = e.pageX + 30;

    sym.posY = e.pageY;

    SYM.createsym ();

    I discovered a solution now!

    I take the width of the window and make a report with the width of the stage variable... The stageratio then gets multiplied with the details... When resizing the window, variables are recalculated...  Here's a working example:

    http://sandbox.junglecrowd.org/responsive_works/publish/Web/responsive .html

    Here's the code... If anyone knows how to do to improve it please tell me

    CompositionReady

    SYM.xycompensation = function() {}

    var point = sym.$('Stage');

    var parent = sym.$('Stage').parent ();

    var parentWidth = stage.parent () .width ();

    var stageWidth = stage.width ();

    SYM.scaleratio = stageWidth/parentWidth;

    };

    SYM.xycompensation ();

    $(window) .one ("Resize", function() {}

    SYM.xycompensation ();

    });

    sym.infoLabel = function() {}

    var position = sym.$("box").show ();

    position2 var = sym.$("text").show ();

    position. CSS({)

    Top: sym.posY, left:sym.posX

    });

    position2. CSS({)

    Top: sym.posY, left:sym.posX

    });

    };

    Stage.MouseMove

    sym.posX = e.pageX * sym.scaleratio + 30;

    sym.posY = e.pageY * sym.scaleratio;

    sym.infoLabel ();

  • How can I sort the slides in a slide show by file name?

    I know, stupid question, but the default always seems to be in the capture, and I often to reorganize and rename the slides.

    I searched on the menus, but how do not capture the slideshow to sort by file name, date?

    Mode library, viewing a folder or Collection, press T to hide and show the toolbar.  (Or view menu, see the toolbar - first item in the list.)  With the toolbar is visible, see sort order.  If you don't see it, click on the small arrow to the right of the toolbar, and then select sort.

    John

  • My Ipad 2 does not recognize anyones tap/fingertips. The slide will not work, I can not turn off course because you need to slide once again to confirm. Need help!

    My Ipad 2 won't let me not unlock the screen does not to fingerprints

    Have you tried a soft-reset/reboot? Press and hold sleep and home for 10-15 seconds (ignore the "slide to turn off"), after which the Apple logo should appear and it should restart

  • Firefox 17.0.7. Display the menu, when you are using extended view (Win7), flickers off when you move the slider to a selection. Reg FF version works fine.

    Using Windows 7, view extended., Firefox 17.0.7

    Firefox menus (file, editing, etc.) and user bookmark lists flicker in and out of visibility when you move the slider to a selection. This happens on the primary display only the second screen. It does not occur on regular product version (23, etc.) and does not occur on any other application.

    We are required to use version 17 on internal business machines.

    Bob Hello, that might be a problem with hardware acceleration - try updating your graphics driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in firefox > options > advanced > General.

  • Movie poster frame flashes at the beginning of the slide in Keynote.

    I have movies as part of my presentation that start with black and then fade toward the top (the build is in the film, not applied in KeyNote). I put a poster frame for the movies it's seconds, after having melted upward, so that I can tell what movie it is.

    However, in Keynote, the poster frame flashes briefly, and then the film plays with degraded sound of black. How can I avoid Flash first of the poster frame, but have always displayed in the box of my presenter?

    It is a by-product of the unfortunate to use a poster frame which is not the first frame of the video.

    One solution is to:

    • place a rectangle on a new slide and dimensions form to cover all of the video image
    • Add the video to the slide
    • Set the color black or another color if appropriate
    • Add a Build Out with a dissolution or blur effect (Inspector > Animation > build on)
    • Click the build command and move the form to the top
    • define the shape with the previous generation
    • set the video work with Build 1
  • The slide show on the Web sites feature does not work since I've upgraded to the latest version of Firefox. Help?

    Since a recent update the slide show on some Internet sites feature for example babygooroo.com is no longer in effect. I tried to reinstall Firefox, but it does not solve the problem. I've updated all the ad - ons, but the problem persists.

    Get a script to update on their part in next https://getsatisfaction.com/slidedeck/topics/slidedeck_stopped_work_sudenly_with_firefox_for_no_reason

  • Remove the slide show Album name / title

    Please forgive me if this has been asked before, but I've been searching and searching without success.

    I have a Mini iPad and I'm trying to implement a video slide show for my portfolio show who would have three videos in loop indefinitely. I discovered that you can create slideshows on the the Photos app iPad by creating a new album and pressing the button "slideshow". It works perfectly, EXCEPT that it displays the name of the album / title on the first video. This is very unpleasant and will look bad when I present my work.

    Is it possible to remove or hide the title of the album since the slide show? Did I miss something so obvious that nobody has asked this question before? And if this is not possible with the Photos app, iMovie does something similar?

    Any help is very appreciated!

    You can try to name the album something like _ or.    So he merges with that of the photo of made it if it's black or gray.  Also check out this post hide the name of the album/slideshow creating slideshow Apple (2015)

    -James of the Rift

  • How do I do to get the slide to set up to go to the right and continue? I was up half the night and is not wrong. The only thing that I just did is plugged into the wall outlet and now I'm right back where I had problems. Why keep this product?

    How do I do to get the slide to set up to go to the right and continue? I was up half the night and is not wrong. The only thing that I just did is plugged into the wall outlet and now I'm right back where I had problems. Why keep this product?

    What do you exactly mean by "get the slide to set up go to the right and continue"? Can you give us a little more context and detail?

  • How can I disable the slide iOS 9 over "feature"?

    How can I disable the slide iOS 9 over "feature"? I continually, accidentally continues to activation of the slide feature, when I slide to the right. How can I activate the feature slide off that it's a constant nuisance?

    I had to use the iPad Guide to refresh my memory so I'll give you the quote.

    "Disable drag above. Go to settings > general > multitasking, and then disable allow multiple applications. »

    From: Apple Inc. "iPad for iOS 9.3 User Guide." Apple Inc., 2015. iBooks.

    These documents can be protected by copyright.

    Find this book on the iBook Store: https://itun.es/us/U4OT9.l

  • How can I get my iTunes song to play on a slideshow? I have added to the slide show, but he never play any music.

    I'm trying to get 4 of my iTunes on my iPhoto slideshow song. I downloaded the music and he added to the slide show. But whenever I saw or slideshow play music refuses to play. Help lol

    What version of the operating system and iPhoto?

    LN

  • The slider side does not move when I put the mouse on it, I need to click below or on the arrow down. Once he left the first place, it moves. Also some applications like changing the city the weather button won't change.

    The slider side does not move when I put the mouse on it, I need to click below or on the arrow down. Once he left the first place, it moves. Also some applications like changing the city the weather button won't change.

    The extension of the Yahoo! toolbar and the extension of Babylon have been reported to cause a problem like that. Disable or uninstall the modules.

       * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    
  • How can I remove the slider on the page when you navigate?

    There's a slider that flashes in the HTML code in the pages, in the regions where it is not an input field, it is there for people with reading/accessibility problems, but I do not know how to disable? It causes major problems, for example a long page of Facebook, when you press an arrow key instead of the page, it will far is the slider?

    This has happened

    Each time Firefox opened

    is in the last weeks, don't know why

    Simply put, press F7?

  • IPad is stuck on the slide to unlock any ideas

    Hi can someone help please my Ipad is stuck on the "slide to unlock screen" thank you

    Hi carolefromcramlington

    Try a restart of power: press and hold the sleep/wake and Home buttons and do not let go until the screen darkens and the Apple logo appears (no data is lost)

Maybe you are looking for

  • I can't watch flash videos, receive the missing message "Flash Player..."

    HelloI can't Flash videos keep getting message "lack the flash player plugin. However I installed flash player 12 several times, the installation appears to complete successfully, but reloading page flash player missing again appears. I can play vide

  • Agilent a54845a scope configuration

    Hi all I am configuring the Agilent 54845 a scope in LabView. I installed the necessary driver (hhttp://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9118659CE034080020E74861) and placed the instrument on LAN. Successfully NI

  • HP Officejet 4500 G510a.-f. Scan does not work on my new Windows 8.1, printed books

    I get an error "Runtime"! This application has requested the execution to terminate in an unusual way. For more information, contact the application support team. I tried 4 or 5 times to download this error w/same every time.

  • Control that supports copy - paste from Excel?

    Hello! Is there a control that supports the cell simple copy - paste from Excel?  I make a program and a large amount of data I can imagine my user copy - paste from Excel spreadsheets. The tables do not work and the Table controls do not work... I f

  • JSR172 & heels - how to add params to Connector.Open?

    I compiled using wscompile web service stubs work ok on the phones of BES. However, on phones non - BES, they don't expire. (Well, it worked several times - no idea why.) The TCP APN is set correctly for AT & T. How to use the wscompiled (common name