Minimizing bulk retrieve for a update

If there are millions of data in a table which satisfy for a query.. What is the best way to get smaller data set by set using a query within a loop (rather than getting the whole set into a cursor)

Do a direct update of the whole set in a single SQL statement instead of cursor loop.

Similar Messages

  • Sql statement for retrieving the last update time of a table

    Hello all,
    Can somebody give me an example of sql statement for retrieving the last update time of an oracle table.
    Thank you
    Il

    Thanks for the fast replies. It works great when I test it as a sql statement but when trying to populate a datalist with it it raises the following exception:
    Exception Details: System.ArgumentException: SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN is neither a DataColumn nor a DataRelation for table DefaultView
    Part of the Datalist Code:
    ItemTemplate>
    Line 12:             SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN)):
    Line 13:             <asp:Label ID="SCN_TO_TIMESTAMP_MAX_ORA_ROWSCN__Label" runat="server" Text='<%# Eval("[SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN))]") %>'>
    Line 14:             </asp:Label><br/>
    Line 15:             <br/>
    {code}
    Why is this happening? Any ideas?
    Il                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • When using outlook and trying to retrieve my emails, my system is in this continual cycle of Connecting, Checking for mail, updated -

    When using outlook on my iphone and trying to retreive my emails, my system is in this cycle of connecting, checking for email, updated - This cycle loops after 3 seconds and begins again - I'm still receiveing my mail but it is draining my battery at a rate of 20% per 15 minutes

    Outlook is a mail client for PC's and Macs. There is no such thing as "Outlook" for iOS.

  • Connecting to datasource and retrieve, insert and update data in SQL Server

    hi,
    i am trying to retrieve, insert and update data from SQL Server 2000 and display in JSPDynPage and is for Portal Application. I have already created datasource in visual composer. Is there any sample codes for mi to use it as reference???
    Thanks
    Regards,
    shixuan

    Hi,
    See this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    Regards,
    Senthil kumar K.

  • Connecting to datasource and retrieve, insert and update data

    hi,
    i am doing a JSP page that need to retrieve data and display on textView, insert data and update data. I have already create a datasource in Visual Composer. Does anyone have a sample codes for mi to use it as reference. So that i can connect to the datasource tat i created in Visual composer and retrieve, insert and update data. thanz
    Regards,
    shixuan

    Hi,
    After creating a data source in Visual composer .
    you have to create a BI system that Visual Composer can use in
    the SAP NetWeaver Portal.
    refer this pdf file for further Info
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    Regards,
    Beevin

  • CR for Eclipse Update Released

    <p style="margin: 0in 0in 0pt" class="MsoNormal"><font size="2">Hello All!<span>  </span></font></p><font size="2"> </font> <p style="margin: 0in 0in 0pt" class="MsoNormal"><font size="2">A new update for Crystal Reports for Eclipse is now available.<span>  </span>This update contains fixes reported by CR for Eclipse users.<span>  </span>For a list of the fixes available, consult the <a href="http://www.businessobjects.com/products/dev_zone/eclipse/cr4e-updates-readme.pdf" target="_blank">readme.pdf</a></font><font size="2">.</font></p><font size="2"> </font> <p style="margin: 0in 0in 0pt" class="MsoNormal"><font size="2">To get the latest updates, use the Update Manager in Eclipse.<span>  </span>If you don't already have CR for Eclipse installed, follow the steps found </font><font size="2" color="#800080"><a href="/node/432" target="_blank">here</a></font><font size="2"> and you will get the latest version.<span>  </span>If you already have CR for Eclipse installed, then follow the instructions below:</font></p><p style="margin: 0in 0in 0pt" class="MsoNormal"> </p><p style="margin: 0in 0in 0pt" class="MsoNormal"><font size="2">1. From Eclipse, click on the Help menu, and then Software Updates > Find and Install... to open the Install/Update wizard.</font></p><p style="margin: 0in 0in 0pt" class="MsoNormal"> </p><p style="margin: 0in 0in 0pt" class="MsoNormal"><font size="2">2. Select "Search for updates of the currently installed features" and click Next.<span>  </span>If, and when, prompted with the Update Site Mirrors dialog, simply accept the default mirror sites and click on OK to continue.<span>  </span>This may take a few minutes to complete.</font></p><p style="margin: 0in 0in 0pt" class="MsoNormal"> </p><p style="margin: 0in 0in 0pt" class="MsoNormal"><font size="2">3. After the update manager finished searching for available updates, the following dialog appears.<span>  Ensure the </span>Business Objects Update Site is checked.  If you do not wish to install the other updates, uncheck the update(s) that are not required.  Click the Next button to continue.</font></p><p style="margin: 0in 0in 0pt" class="MsoNormal"> </p><p style="margin: 0in 0in 0pt" class="MsoNormal"> </p><font size="2"><span style="font-size: 10pt; font-family: Verdana"><span class="inline left"><img src="/files/images/cr4e_updates_dialog.bmp" alt="Eclipse Update Manager" title="Eclipse Update Manager" width="585" height="487" align="absmiddle" /></span></span></font><p> </p><p> </p><p> </p><p> </p><p> </p><p><br /><br /><br /><br /><font size="2">4. Review and accept the license agreements for each Feature and click the Next button, and then the Finish button.<span>  </span>The update manager will take some time to download all of the Features.</font></p><p><font size="2">5. During the download, you will be prompted with the Verification dialog to accept the (un)signed features.<span>  </span>Click on the Install All button to install all the features.</font></p><p><font size="2">6. After Eclipse verifies and installs the Features, it is recommended that you restart Eclipse.</font></p><p><font size="2">For all your feedback, please use the Crystal Reports for Eclipse </font><font size="2" color="#800080"><a href="/forum/193" target="_blank">forums</a></font><font size="2"> to place your comments.<span>  </span>We will make every effort to respond to your comments.</font><br /><font size="2"> </font><font size="2"> </font> </p><br /><br /><p style="margin: 0in 0in 0pt" class="MsoNormal"> </p><p style="margin: 0in 0in 0pt" class="MsoNormal"><font size="2">Mandeep Jassal<br />Program Manager<br />Business Objects</font></p>

    I don't want to install for:
    1) I would be the only developer on my team with it installed (differing development environments begs for disaster)
    2) There seems to be a real disconnect in how Crystal is begin updated.  For example, can you tell which version of the Crystal jars CR4E is using?
    I was previously using CR XI R2 jar files in my project.  I ran into a snag (JRC failed to honor table alias names) in which the tech rep suggested I "back down" to using the CR4E jar files to fix my problem.  I now have a case logged in which the native pervasive driver has a major disconnect while retrieving the data.  This fix is in FP2.4 for CR XI R2.  See my scenario?  What is being fixed in one release is getting broken in another.
    My only purpose with the JRC is to run the reports.  I do my design work in the CR designer.
    Yes, I am fully aware my key for CR XI works in CR4E as well as CR XI R2.
    Thanks for the feedback and if there is anyway of pushing the separate download along, it gets my vote.
    Victor M. Scott

  • Bulk retrieval

    Hi,
    I am trying to do Bulk retrieval on a Hash database. I can successfully retrieve Multiple records for a single key by using DB_MULTIPLE.
    However when I try using DB_MULTIPLE_KEY the Dbc::get() method always returns DB_NOTFOUND. I know for a fact that some of the keys I am querying do not exist in the database. I am not clear if in this case I can even do bulk retrieval using DB_MULTIPLE_KEY. Does Dbc::get assume that when DB_MULTIPLE_KEY flag is set all all keys are present in the DB? If so is there any efficient work-around to this.
    Thanks in advance,
    Sam

    Hi, Pushparaj
    I think you're using the Java API of Berkeley DB core, this is Berkeley DB Java Edition forum, for your question, you should post here: Berkeley DB
    Thanks and regards!
    Tao

  • Preview for Developers update for Windows Phone 8.1.1

    Start your phone updates
    Microsoft has just pushed out Windows Phone 8.1.1 for those participating in the Preview Developer Program.
    It's believed to fix the following issues:
    lingering issues with those not getting the Lumia Cyan firmware
    errors in installing
    and even a fix for HTC users
    Source: Microsoft rolling out Preview for Developers update for Windows Phone 8.1.1 | Windows Phone Central

    primortal wrote:
    This bit is interesting from the Windows Phone Blog in regards to this update.
    Remember, while we are releasing Lumia Cyan for a large number of phones, there still may be some of you that are not offered the Cyan update, yet. However, as explained in the blog, we’ll continue to add more Lumia devices every couple of days over the coming weeks until we bring everyone up to the latest.
    Source: New Update for Windows Phone Preview for Developers
    That Text is no where to be found in that blog post. Anywhere.

  • I have three iPhone 4 models purchased in late 2010 that all share the same iTunes account (apps, music, etc), but I can only update the software on one of the three iPhones. What is the best solution to manage these devices for software updates, apps?

    I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library.  The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me??  Please?

    I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library.  The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me??  Please?

  • Status Report for Software Update Deployement

    Hi,
    I am looking for SCCM2012 query for patch status from specific deployment and specific collection. I need the following details in my patch
    report with against each machine name
    "Total Number of updates required"
    "Total Number of updates installed successfully"
    "Total Number of Updates Failed"
    "Total Number of Updates installing"
    "Total Number of updates downloading"
    etc.
    Thanks

    That's a fairly challenging report request.  You'll have to pull together information from many different tables, and from what I can tell, you're also looking for some real-time information with the installing/downloading portions as well.
    This report has some of what you're requesting:
    http://anotherblabla.wordpress.com/2012/03/06/sccm-usefull-software-update-reports/
    Some good stuff here too:
    http://pleasepressanykey.blogspot.com/2010/08/sccm-patchmgmt-custom-reports.html
    You should also consider taking a look at some of the out-of-the box reports in 2012 for Software updates.  I don't believe any have
    exactly what you're looking but I think most if not all of the components are there and you could extract those and combine them into a new report. 
    If you're new to reporting, this is a decent guide that I followed and it's decent and will help you get some of the basics.
    http://sccmgeekdiary.wordpress.com/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/
    Hope this helps.

  • NSURLErrorDomain error -1012 keeps coming up when I go to the app store to check for any updates.

    When I go to the App store to check for any updates it will not proceed and gives me the following error message NSURLErrorDomain  error 1012.
    Can anybody help please.
    Thanks,
    Bernard

    I am receiving the same error when I try to refresh the updates page but was able to download the Digital Camera Raw update without issue (this update was displayed on the page).
    Have not tried the 10.9.3 update...
    Curt

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • Cellular Data for iTunes Match but not for app updates

    In iOS7 we can now have App updates downloaded automatically. Great. But if I want to use cellular data to stream songs from my iTunes Match library in iCloud when I'm on the road, but don't want to waste cellular data on App updates how can I do this?  It appears that enabling cellular data for iTunes Match also requires using cellular data for any of the four auto download features as well in Settings>iTunes &amp; App Store. Am I seeing this correctly and is there a way to fix this?  I don't want to use cellular data for app updates, just for iTunes Match streaming.  Any help would be great.

    This looks like the same problem I've come across. From what I have been told, they are not separate, ie if you enable use cellular data to stream songs from iTunes Match you also have to download updated apps if you have it set to automatically download them.
    I think this should definitely be separated.
    The other thing you could do it go to another streaming music provider and then turn cellular downloads off. That's what I'm looking at doing.

  • My iPad 2 shows I have 7 apps that need to be updated and when I go into my App Store it won't pull up anything for my updates how can I fix this????

    My iPad 2 shows I have 7 apps that need to be updated and when I go into my App Store it won't pull up anything for my updates how can I fix this????

    It seems Apple is having some issues at their end. There have been hundreds of posts on the forum with the same problem.

  • When I check for software updates only itunes and random other updates show up but not security updates or safari update. When i check installed updates I realized my last security update was 2011-004 and I still have safari 5.0.6. Can anyone help me?

    When I check for software updates only itunes and random other updates show up but not security updates or safari update. When i check installed updates I realized my last security update was 2011-004 and I still have safari 5.0.6. Can anyone help me?

    Don't panic. OS X 10.5.8 is the most popular PowerPC OS out there. People run it everyday without security breaches, including myself. It isn't Windows!
    If you're really that worried, I highly recommend Sophos Anti-Virus for Mac Home Edition. Supports PowerPC & Intel and Mac OS X 10.4-10.7.
    http://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-mac-home-ed ition/system-requirements.aspx
    Direct download: http://downloads.sophos.com/home-edition/savosx_73_he.dmg

Maybe you are looking for

  • Variant / or / parameter  Tranaction for a report

    I want to create a transaction code for a report . This transaction code should load a variant ( Protect a parameter field  ( Value = xyz & user can not change it ) . Can someone tell me how to proceed  ? Thanks

  • Regarding open items in credit management

    Dear friends My query is that is it possible to restrict credit management for credit and debit open items? See i am using oldest open item blocking in my scenario. Now credit and debit amounts are both considered as open item for credit management.

  • As like Trigger

    Hi all, I am working in Forms 6i. I want to display an alert message while inserting a record as "INSERTING" and "UPDATING" while updating a record (with old and new values). This one I need to do in the front-end (Forms) instead of Database Trigger.

  • Binding ADF UI components to managed beans instead of using bindings

    Hi All, We are working on a ADF based development project and we have complex data input forms. We have close to 200 input forms for different products and each form has different details. Requirement is to store the data captured in the input forms

  • Dim build

    Hi Folks, I would like to create Dimension Building using rules file with the follwoing metadata ,what are the steps have tofollow can any one give suggestions how to build using the following ACCOUNT,PARENT,ALIAS,ACCOUNTTYPE,VARIANCEREPORTING,TIMEBA