For and Build collect

Hi
My office DB is on Oracle version 10.2.0.3.0. Could you please advise if it is possible to use Bulk collect when fetching record from Cursor using For loop?
Thanks in advance,
Tinku

Hi Tinku,
Several people are suggested you regarding bulk bind and for all. It is required for your requirement. They said 100% correct. But still you want to know the bulk collect..Just have a look the below code. just for your knowledge sake I am giving.
BULK BINDS
There are two type of bulk binds are there which are FORALL and BULK COLLECT
FORALL : It sends the all DML operations to SQL Engine at a time from PL/SQL engine
Bulk Collect : It retrieve entire result set from SQL Engine to PL/SQL Engine at time.
By using the bulk binds we can increase the performance. Using BULK binds will decrease the number of context switches between PLSQL and the SQL engine
create or replace procedure bulkbind is
   type vdeptno is table of number index by binary_integer;
   type vdname is table of varchar2(40) index by binary_integer;
   type vloc is table of varchar2(40) index by binary_integer;
   ldeptno vdeptno ;
   ldname vdname;
   lloc vloc;
   cursor dept_cur is select deptno, dname, loc from dept;
begin
    open dept_cur ;
    loop
      fetch dept_cur bulk collect into ldeptno, ldname, lloc limit 5;
      forall i in 1..ldeptno.count
       insert into tempdept values(ldeptno(i), ldname(i), lloc(i));
      exit when dept_cur%notfound;
    end loop;
end;
KPR

Similar Messages

  • Measure Formulae for Uploadable and Data collection report

    Hi,
    I have query related to application of measure Formula for Uploadable and Data collection report.
    Consider a scenario where i use a MDX query to create a data collection report and I map these columns from these reports to an rowsource using a loader file. Can I use measure formula feature like onchange to work with Uploadable and Data colection reports such that changes to any one column should take effect in another column.
    Regrads,
    Wesley

    Wesley,
    IOP uploadable reports are used for sending data to the server in batch. They are coupled to the IOP model via a rowsource. You have a lot of flexibility with the spreadsheet you build for staging the upload. It's really just a function of how crafty you are with vb. Cascading changes from one column to another can be easily accomplished this way.
    Onchange formulas are for something else. They are part of the model definition and are used for describing how to cascade changes between IOP data blocks.

  • Creating a template in Pages is straight-forward as answered here previously. Is there and equivalent for iBooks Author which can start with a blank page and build up the template as required? or can one only adapt a ready made template?

    Creating a template in Pages is straight-forward as answered here previously. Is there an equivalent for iBooks Author which can start with a blank page and build up the template as required? or can one only adapt a ready made template? This has proved unsatisfactory to me so far. Lines are left in etc.

    There are two basic menus for fonts - one from the main menu bar and one from the toolbar. You can also bring up the font manage dialog.
    I don't recommend trying to hard to force an otherwise foreign font, as it inevitably needs to be usable/supported on iOS as well, and that can get tricky w/3rd party fonts, as an example, even with the expanded font support in the latest iBA.
    If you need to discuss fonts more, I suggest starting a new thread....preferably with a slightly more brief title, thanks.

  • I'm trying to update to iOS 5 and it keeps showing an error "this device isn't eligible for this build" What can I do?

    I have restored my iPod touch 4G to the iOS 4.3.5, then I tryed to update/restore with the iOS 5 and it pops an error saying my device isn't eligible for this build, how can I solve this issue?

    Here's what I found about the error you mentioned, copied from http://support.apple.com/kb/TS3694
    This device is not eligible for the requested build: Also sometimes displayed as an "error 3194." If you receive this alert, update to the latest version of iTunes. Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to performunauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. First you must uninstall the unauthorized modification software from the computer, then edit out the "gs.apple.com" redirect from the hosts file, and then restart the computer for the host file changes to take affect.  For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart. Also, using an older or modified .ipsw file can cause this issue. Try moving the current .ipsw file, or try restoring in a new user to ensure that iTunes downloads a new .ipsw.

  • Latest Xcelsius Version and Build Number for 2008

    Following the latest Fix Pack 1 update for Xcelsius 2008, what should the Xcelsius Version and Build Number be that is found in the "About Xcelsuis" screen?
    Mine is:
    5.1.1.0 and 12,1,1,344
    Is this correct?
    Thanks

    Hi Jack,
    That is the correct version
    see Xcelsius 2008 Service Pack 1, Fix Pack 1 is now available
    and
    http://dallasmarks.blogspot.com/2008/11/fixpack-1-released-for-xcelsius-2008.html
    Regards
    Alan

  • How to get source code and build files for Eudora 7, and price?

    Looking for source code and build/make files for Eudora 7 to port to Win7 and Ubuntu 14. Where is a source for this and what is the cost?

    You best ask qualcomm. It is their intellectual property.
    Eudora OSE was based on Thunderbird and the source code for the Penelope add-on is open source (that is what made Thunderbird over to OSE)

  • Error 404 for Nightly Builds 4.0.0.10193 and 4.0.0.10212

    Hi, looks like the zip files are not where they should be for both builds. Seems fine for previous builds though.

    Hi, looks like the zip files are not where they should be for both builds. Seems fine for previous builds though.

  • Automatic Deployment Rule - One ADR for Two Different Collection for Two Different time Intervals

    I have a scenario where two collection of Windows 8.1 is made based on geographical location. One collection is for all the windows 8.1 machines in India and one collection is for all windows 8.1 machines in US. Now I have created one ADR to be deployed
    to the Collection for Machines in India with a schedule.
    My requirement is that can i use the same ADR for those two collection with different schedule. Say I want ADR to be deployed in India at say 10:PM IST and for US collection at say 10:00 PM PST.
    Can I use one ADR with two different schedule and can be deployed to two different collection. Any help will be greatly appreciated.
      

    Couple of "bits" to help you one your patch automation quest:
    A ADR is very much a 1:1:1 rule.  It creates (or updates) ONE update group, deploys it to ONE collection, and you can provide ONE schedule.  While you are more than capable of flipping said deployment time to use local time instead of UTC, in general
    it's a very simple set of rules that are dogmatically run.
    That said because of the "include" feature of collections it's not that hard to setup a good/robust patching pattern.  What I recommend doing is building an ADR for each variance of deployment of patches or enforcement time.  for example,
    my ADRs look something like this:
    Software Updates - Zero day enforced
    Software Updates - Critical and Security 1 month enforced
    Software Updates - Critical and Security 1 month no reboots
    Exact terminology is up to you of course, but I find a good descriptive ADR name saves a lot of confusion.  For each ADR I create an identical collection.  From there I can use existing collections and a simple "include collection" rule
    to bundle things up and make them part of the patching schedule of my choice.  Anyone can now go into my "software update" folder, look at my collections, and know exactly what gets patched by what deadline.
    Finally, don't be afraid to look into maintenance windows to trim down ADR count.  Making a deployment available for a month before it goes enforced, then setting up groups of maintenance windows (one for each Friday of the week for example) can also
    accomplish a similar goal by having machines auto-patch during their week but you only using one ADR.
    So by having two "types" of collections to manage your patching (one to assign a ADR built by deployment deadlines, the other for exact update windows) you should be able to group most your workstations into a decent patch scheudle without being
    too excessive about creating a billion ADRs.

  • Custom thumbs views and creating collections

    Been looking for answers to a couple of questions in Bridge Scripting.
    The first has been asked before and i don't think answered (at least not in this forum). Can one make a customized view dynamically via code - i.e. the ability to set a thumbnail node and NOT view all of the images in that directory. Someone had mentioned using a custom browse scheme but i have to admit documentation for this kind of code is somewhat lacking... I would like to be able to set exactly what shows in Content Browser using code. (obviously not using thumbnail.children as that is read only.)
    SEcond, is there a way to create a collection via code? I would like to create a 'find' function with keywords to search for and folder to search in, on the fly, and then save it as a collection, all with scripting.
    OK, i lied i actually have a third question... how to set things like view filter or sort programmatically?
    whew... okay, that's it for this evening. I'm really hoping Bridge scripting can do these sorts of things, as it feels much to limited otherwise.
    thanks all, any helps is always appreciated... short of actually doing my work for me (which you're welcome to do :)
    Steve Sterling
    Adidam

    Pam,
    I actually want somewhat of the similar material.  In this thread I found a partial answer:
    Genil/BOL - Define Simple Objects
    The package CRM_GENIL_SAMPLE shows how to use the simple objects to create the new BOL object.  However that only gets you part of the way there.  It would be nice if there was a full end to end example of what you want to do, which basically build a component from scratch.
    For you second example I think you can enhance an existing view and then add a "value" node in the context.  In the value node set/get methods or the enhanced custom controller you can then call your RFC function module.   I think that is how it is supposed to wrok.
    EEWB is really only for creating new fields/tables.  The worst part also if you already have things created from a previous release using the darn EEWB, then you have to manually migrate that work.  However I would take the new webclient over the PCUI, on almost any given day.  The SAPGUI vs webclient is a tossup.
    Take care,
    Stephen

  • SystemManager and Garbage Collection

    Hi everyone, I have a question regarding the SystemManager and Garbage Collection. I have and application that loads in its assets via a swc created in Flash. In that swc I have different MovieClips that act as the different screens of my application each one being tied to its own custom class. For example one MovieClip is a login screen another is the main menu etc. These screens contain components, text fields and animations. The problem that I am having is when I move from one screen to the other the garbage collector is not cleaning up everything. There are still references to the MovieClips that have animations for example. So even though I remove the screen via removeChild and set the variable reference to that object to null it is not releasing the MovieClips. When I pull it up in the profiler it shows me that SystemManager is holding references to them. Also if I debug the applicaion and look inside the instance of the MovieClip I can see that the private property "listeners" has values, but I am not adding listeners. It appears that the SystemManager is adding listeners. Does anyone know how I can clear these listeners or force the SystemManager to release these items. Any ideas or help would be greatly appreciated. I am fairly new to dealing with memory management and garbage collection in Flex. I am using Flash CS4 to create the swc and Flash Builder 4 Beta with the 3.4 framework and Flash Player 10 to create the app. If you need me to clarify any of this please let me know. Again any help or ideas on where to go from here would be great!

    This chain says that the focusManager is referencing UserMenu.  Is there a default button or focusable objects in UserMenu and references from UserMenu to the objects in question?
    BTW, the CS4 fl.managers.FocusManager and any fl.. classes are incompatible with Flex, so make sure you're not using them in your MovieClips.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • What I learned in the mortgage and build process

    What I learned in my 8 month loan and new build process. -don't sweat the small stuff -no news is good news.  If you send in the requested docs, and you don't hear back quickly, than all is good.  Understand the farther out from closing you are, the deeper in the stack your file is.  You are not the only client.  At any one time the money guy has a closing on the horizon that will have priority, if your new build is due to finish in 4 more months, well guess what?  All I asked was when MY closing happens in 4 days to have my file at the top, and I was reassured that would be the case. -In my situation the lender, sales, and builder all came under one umbrella.  There are advantages and disadvantages of this scenario.  I read the horror stories no one was looking out for me, I was going to get roasted etc.  I had none of that.  They were very professional. In the end I have a great home, and they made some money.  Its called business.  Because all worked for the same company they were committed to getting me in this house.  All 3 were responsive, and each knew what the other 2 were doing.  I was quickly preapproved, they only wanted 500 down in earnest, and they broke ground within 30 days after the contract was signed.  They paid ALL closing costs, over 12,0000 dollars worth.  The house is beautiful and well built.  I've had a few minor issues (ALL new houses do) that were promptly addressed and satisfied.    -My way to a new house is the middle method.  1st you pick out a spec house in the community and just move in.  Works for most people.  2nd you do like I did.  Pick a plan from the builder for that community.  You get to pick out colors, options etc.  The price given is gonna be the basic house, check that list carefully.  In my case the house had many "Upgraded" options as standard.  As a incentive I was given another 8,000 to use at the design center.  Well we spent that and another 7 LOL.  Realize it does not take long to spend 10k at the design center.  3rd option is the true custom build.  You buy the lot, get the architect to draw up precisely what you want, and go find the builder, and a construction loan.  You have to know what you're doing if you go this way.  Its a lot of work, and I entertained no notion of this option.  I mean you're gonna spend hours (days?) in Lowe's looking at door knobs, backspaslh, lights.  In my route the designers had all that narrowed down for ya, so instead of looking at hundreds of tiles you chose from about 30.  I liked that.  Understand the builder has vendors for all that stuff, and buy it at a good price, and why they were able to build me a pretty good house for the price. -Stuff is gonna happen.  Docs will be misplaced, wrongly shredded, or deleted and have to be reexcuted.  Weather will be bad=more delays.  Suppliers get behind and can't get stuff to the job site.  Don't let it ruin your day.  Just resend the docs. -the people in the pipeline work best under pressure, they're let ya know when its time to sweat. -I kept a accordion file of the stuff I turned into the money people, I kept it on my desk for quick reference for months.  It became a part of me.  A month after closing it now sits on my bookcase.  I look to it when I want to be reminded what it took to get me here.  It truly represents almost 40 years of work and life.  I think I'm gonna have it buried with me.  I suggest you keep a file. -don't try to match wits with these guys.  A couple of times I was asked for stuff that I thought had no revelance, but I did my duty and just got it up and sent the requested info. -They want you to buy THIS house.  -Know the scrore going in=understand and know YOUR credit file and how it got there and how to get it better.  It will make the process much easier.  I really didn't do that because I didn't know anything.  I was lucky, I had a clean file, my only problem was lack of revolving credit.  Because I had 6 months to work it, I was advised to go out and pick 2 more cards.  I did and my scores improved 25 points right away. -if you are going to engage collections on your file, do it before applying, or get some solid advice if you're gonna do it while in the process. -do not become a slave to the process.  While all this going on, live your life.  Do the stuff you like doing.  When you sit around and wonder what they're gonna do about your driveway all the time you whip up all kinds of ugly scenarios.    -if you have issues of confrontaion, controversey, and uncooperation among any of the 3, and its not gettin better, step back and take a look. -try to get good snacks at the closing.  I wanted nachos but got Keebler oatmeal cookies and mtn dew. And thats all I can think of right now.   

    Which means tomorrow is when we get the new update for our iPhones and I just found the answer to my question, I don't care for the new iPods, just wanted to know when the update will be available
    Message was edited by: Schmitty83

  • License for Flash Builder 4.6

    Hello All,
    Currently I am using the trial version of Flash Builder 4.6 and I would like to purchase the product.
    Before doing that, I would like to know if the license, that is given to me, is given only for the development environment or also for the compilation process.
    To be more precise:
    Do I need a special (and different license) in order to compile my code from the command line?
    If I want to use an open source continuous integration tool (for example Jenkins) in order to compile the code, do I need a special license for that?
    Thanks in advance,
    Felix.

    Please see the following statement:
    Statement: 
    The program to offer complimentary copies of Flash Builder Standard to students, faculty and staff is discontinued.  You can subscribe to a free subscription to the Adobe Creative Cloud to access Adobe Scout, a new profiling and optimization tool for Flash and AIR content;  Adobe Gaming SDK, a complete collection of frameworks and code samples;  Flash C++ Compiler , cross compile C/C++ games to run your game in Flash Player; 2 GB of file storage;  and trial versions of Flash Builder and other Adobe tools .  Learn more at: http://gaming.adobe.com/getstarted/
    Question:   Why was this program discontinued?
    Answer:   This program was created to encourage the use of Flash Builder for the building of RIAs (rich internet applications).   Since Adobe is no longer targeting Flash Builder for RIA development this program is obsolete.
    Question:  I build games so why can¹t Adobe provide these tools to students, faculty and staff for game development?
    Answer:  Adobe recently announced a new set of game development tools available for free  through the Adobe Creative Cloud.  Adobe game development tools includes Adobe Scout, Adobe Gaming SDK, Flash C++ Compiler, 2 GB of file storage and access to trials versions of Flash Builder and other Adobe tools.

  • I lost the installation disks for CS4 master collection. Where can I download the installation file?

    Hello,
    I lost the installation disks for CS4 master collection polish version. Where can I download the installation file?

    Hi filmowka,
    Welcome to the Community!
    Go to http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html and choose Master collection CS4 from the list.
    Follow the Very Important Section else the download will not start.
    Thanks!
    Ankit

  • Location and building in Training and Event Management

    Hello Dear Friends,
    I Have a maybe very simple but confusing question.
    I can not distinguish between "Location" and "Building" in Training and Event Management.Does Location contain buldings?
    what is the relation between these two? and where do they join and link to each other? please give me an example.
    Edited by: AppreciateSAP on Dec 28, 2010 9:54 AM

    HI,
    Location means name of the city/town where the training is conducted,
    Building means, in one city there may be more then one training institute/different building.
    for an Ex.
    Location - Delhi.
    Building-    Where the training is actually conducted. Like building 1 and building 2.

  • SCOM - -500 Internal Server Error - There is a problem with the resource you are looking for, and it cannot be displayed

    Hi There,
    Need your assistance on the issue that we are facing in prod environment.
    We are able to open web console from remote machine and able to view monitoring pane as well as my workplace folders from console . Able to view and access alerts and other folder in the monitoring pane. We are able to view and access My Workplace folder
    and able to view the reports in Favorite Reports folder. But when I click on run Report we  are getting the below error  "500 Internal Server Error - There is a problem with the resource you are looking for, and it cannot be displayed."
    In our environment we have 3 servers one is SQL server and two are SCOM servers. Please advise how to fix this issue. Do we have to do any thing from SQL End?
    Errors: Event ID 21029: Performance data from the OpsMgr connector could not be collected since opening the shared data failed with error "5L".
     Event ID 6002 : Performance data from the Health Service could not be collected since opening the shared data failed with error 5L (Access is denied.).
    Regards,
    Sanjeev Kumar

    Duplicate thread:
    http://social.technet.microsoft.com/Forums/en-US/7675113e-49f0-4b3a-932b-4aceb3cfa981/scom-500-internal-server-error-there-is-a-problem-with-the-resource-you-are-looking-for-and-it?forum=operationsmanagerreporting
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for