Executing the sam SQL Query again and again on the same records?

Hi currently we have a system that will compute certain charge information base on a file finance department send to us from another system
The problem is that their file contains of Account with bank records and account with no bank records.
for thos account with bank records it will just send to us and we will just update it..and those account will be updated...
but for those account that have no bank records ..it will send to us again and again..and these no bank records account will accumulate
the finance department mention that there is not much they can do on their side except sending us the file
is there any gd solution for this people kind to share?

Well one simple solution which i can think of is to persist Non-bank accounts in a Serializable Object and save it in a temporary cache.
Now before running a query on them and then trying to update the database checkout the peristed cache, check whether data records exist their or not
if they do, dont update that records in the database.
or define your database tables in such a way that there is an indication of abt bank & non-bak records and write a query / procedure in such a way that it do not update the duplicate non-bank records.
Hope this might help :)
REGARDS,
RaHuL

Similar Messages

  • Can we implement the custom sql query in CR for joining the two tables

    Hi All,
    Is there anyway to implement the custom sql query in CR for joining the two tables?
    My requirement here is I need to write sql logics for joining the two tables...
    Thanks,
    Gana

    In the Database Expert, expand the Create New Connection folder and browse the subfolders to locate your data source.
    Log on to your data source if necessary.
    Under your data source, double-click the Add Command node.
    In the Add Command to Report dialog box, enter an appropriate query/command for the data source you have opened.
    For example:
    SELECT
        Customer.`Customer ID`,
        Customer.`Customer Name`,
        Customer.`Last Year's Sales`,
        Customer.`Region`,
        Customer.`Country`,
        Orders.`Order Amount`,
        Orders.`Customer ID`,
        Orders.`Order Date`
    FROM
        Customer Customer INNER JOIN Orders Orders ON
            Customer.`Customer ID` = Orders.`Customer ID`
    WHERE
        (Customer.`Country` = 'USA' OR
        Customer.`Country` = 'Canada') AND
        Customer.`Last Year's Sales` < 10000.
    ORDER BY
        Customer.`Country` ASC,
        Customer.`Region` ASC
    Note: The use of double or single quotes (and other SQL syntax) is determined by the database driver used by your report. You must, however, manually add the quotes and other elements of the syntax as you create the command.
    Optionally, you can create a parameter for your command by clicking Create and entering information in the Command Parameter dialog box.
    For more information about creating parameters, see To create a parameter for a command object.
    Click OK.
    You are returned to the Report Designer. In the Field Explorer, under Database Fields, a Command table appears listing the database fields you specified.
    Note:
    To construct the virtual table from your Command, the command must be executed once. If the command has parameters, you will be prompted to enter values for each one.
    By default, your command is called Command. You can change its alias by selecting it and pressing F2.

  • ViewObject LOV query is executing again and again..

    Hi Experts,
    Currently in my application VO has one LOV component
    DeparmentVO - countryID (LOV) pointing to the CountryVO
    Where CountryVO is a query based and it depends on the user session language "Select countryID, country from Counties where language=:language
    Now application works fine, however whenever the user launched the page the countryVO query is executed again and again and it is not cached. In the DeparmentVO view accessor the is there any way we can specify the CountryVO to be taken fro cache? Or is there any configuration that we need to do inorder to run the country query only once per session?
    Looking forward you advice on this.
    Thanks

    Hi Timo,
    Our jdev version is 11.1.2.1
    We have the page which shows the department table each record has the country LOV.
    After the login the user can view the page at that time the query is executed, after that he may visit some other page and then come back to the same page then again it is executed. The CountryVO list is based on the language so it needs to be load only once per session in my case to optimize the performance.
    Thanks

  • Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?

    Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?
    I already provided my 3 digit CVV number but Itunes again need to confirm the code whereas on my Office Computer I am purchasing Apps on Itunes without verifying my billing information again and again except once at the time of creation of account.
    Please help me as I am charging by my Credit Card bank by US$ 1 each time when I give verification code.
    Thanks
    Talat Khatri

    Try the following steps,
    Sign into your computer and removal of credit card information. Here are the steps:
    1) Open iTunes and sign in to the iTunes Store.
    2) Select "View My Account" from the Store menu.
    3) Enter your password and click the View Account button.
    4) Click the Edit Payment Information button.
    5) Select "None" as the payment type.
    6) Click the Done button at the bottom of the page.
    Reset your account password from the following link:
    http://iforgot.apple.com
    Phase 3:
    Download a free content on to get recognized in iTunes.
    To ensure your account is functioning, try downloading a free item from the iTunes Store. To do this, navigate to the iTunes Store main page by clicking the Home icon near the upper-left corner of the window. Scroll down and click the "FREE ON iTunes" link near the bottom of the main page, then select an item to download.
    After you are able to download the free App try updating the billing information as usual.

  • HT1539 I have tried to download a digital copy that came with a movie I purchased and I keep getting the an error about HD purchase vs. SD purchase.  I push redeem again and it has the same message and I cant download the movie.  What can I do?

    I have tried to download a digital copy that came with a movie I purchased and I keep getting the an error about HD purchase vs. SD purchase.  I push redeem again and it has the same message and I cant download the movie.  What can I do?

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • Please give this awsome app more  by providing  features:: 1. thumbnails for pages ,2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion

    please give this awsome app more  by providing  features::
    1. thumbnails for pages ,
    2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion when selecting multiple words in a single page).
    thanks .. hope this will be soon adapted with

    please give this awsome app more  by providing  features::
    1. thumbnails for pages ,
    2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion when selecting multiple words in a single page).
    thanks .. hope this will be soon adapted with

  • Same JSP/Servlet is executing again and again

    Hello,
    We have some JSPs which do a lot of processing and is 'alive' for a long period
    of time. If we use the JSP with small amouts of data, it is fine. But when we
    use the JSP with lot of data, it seems to 'go in a loop'.
    It is processing the data again and again and again and brings down our server.
    We do not think it is the code that is wrong - as it processes perfectly if the
    data is small or when our server is not busy. This problem happens if the data
    is lot and the server is also busy. The JSP seems to be executing again and again.
    Is there some type of 'refresh' logic in weblogic that refreshes the JSP/servlet
    and makes it 'execute' again and again.
    We are using WL 6.1
    Thanks,
    Oleg.

    Hi Oleg,
    Could you tell us how you find out that there is an additional request?
    Regards,
    Slava Imeshev
    "Oleg" <[email protected]> wrote in message
    news:[email protected]...
    >
    Thank you Varad and Slava,
    We don't use plagin for iplanet,
    but our problem is very similar:
    Weblogic generate additional request if the previous request toservlet/jsp is
    taking long time.
    Where I can configure JSP timeout to fix this problem?
    Thank you very much.
    Oleg.
    "Varadharajan" <[email protected]> wrote:
    Hi Oleg,
    Are you using weblogic plugin for iplanet webserver ?
    In weblogic server 6.1 sp3 there is a problem with this plugin. It would
    generate
    additional request if the previous request to servlet/jsp is taking more
    than
    the configurable timeout set in the obj.conf file of iplanet webserver.
    This plugin problem is fixed in wls6.1 sp4.
    Rgds,
    Varad
    "Slava Imeshev" <[email protected]> wrote:
    Hi Oleg,
    See my answers inline.
    "Oleg" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    We have some JSPs which do a lot of processing and is 'alive' for
    a
    long
    period
    of time. If we use the JSP with small amouts of data, it is fine.But
    when we
    use the JSP with lot of data, it seems to 'go in a loop'.I guess you need to figure out if "seems" really "does".
    It is processing the data again and again and again and brings downour
    server.
    How do you know that a JSP goes into a loop?
    We do not think it is the code that is wrong - as it processes
    perfectly
    if the
    data is small or when our server is not busy. This problem happensif the
    data
    is lot and the server is also busy. The JSP seems to be executingagain
    and again.
    What load is considered to be high/low for you
    application? Are you running a load test?
    Is there some type of 'refresh' logic in weblogic that refreshes
    the
    JSP/servlet
    and makes it 'execute' again and again.Normally Servlet/JSP enters service() method when
    there is an incoming request. It should not be happening
    at JSP's will.
    Regards,
    Slava Imeshev

  • When I wants to syncronize my foto's from my computer to my Ipad, Ik get the message  "itunes photprocessor was not installed correctly, please reinstall itunes, error 7"  When i did so, the same message appears again and again??????

    When I want to syncronize my photo's from my computer to my Ipad, I get the message  "itunes photoprocessor was not installed correctly, please reinstall itunes, error 7"
    When I did so, the same message appears again and again.
    Anyone knows the solution?
    Thanks on forhand.

    Repair Apple Application Support.
    START/CONTROL PANEL/PROGRAMS N FEATURES/highlight APPLE APPLICATION SUPPORT, then click the REPAIR button

  • I have just updated to the new version of Firefox. Eventhough, i have reboated my computor, Firfox prompts to do it again and again and would not open. The same things happen if i try to unistall it or redownload it. What can I do?

    Question
    I have just updated to the new version of Firefox. Eventhough, i have reboated my computor, Firfox prompts to do it again and again and would not open. The same things happen if i try to unistall it or redownload it. What can I do? edit

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    *Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    *Trash the current Firefox application to do a clean (re-)install
    *Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Same Servlet/JSP is executing again and again

              Hello,
              We have some JSPs which do a lot of processing and is 'alive' for a long period
              of time. If we use the JSP with small amouts of data, it is fine. But when we
              use the JSP with lot of data, it seems to 'go in a loop'.
              It is processing the data again and again and again and brings down our server.
              We do not think it is the code that is wrong - as it processes perfectly if the
              data is small or when our server is not busy. This problem happens if the data
              is lot and the server is also busy. The JSP seems to be executing again and again.
              Is there some type of 'refresh' logic in weblogic that refreshes the JSP/servlet
              and makes it 'execute' again and again.
              We are using WL 6.1
              Thanks,
              Oleg.
              

    there is no refresh logic in wls unless u specify it.
              please check the code for any "refresh"ing the page
              SP
              "Oleg" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Hello,
              > We have some JSPs which do a lot of processing and is 'alive' for a long
              period
              > of time. If we use the JSP with small amouts of data, it is fine. But
              when we
              > use the JSP with lot of data, it seems to 'go in a loop'.
              > It is processing the data again and again and again and brings down our
              server.
              > We do not think it is the code that is wrong - as it processes perfectly
              if the
              > data is small or when our server is not busy. This problem happens if the
              data
              > is lot and the server is also busy. The JSP seems to be executing again
              and again.
              >
              > Is there some type of 'refresh' logic in weblogic that refreshes the
              JSP/servlet
              > and makes it 'execute' again and again.
              > We are using WL 6.1
              >
              > Thanks,
              > Oleg.
              

  • Dear All, today i am trying to generate a chm in Robohelp 11, by combining two topics under a single book but again and again i am facing same issue  that is "Cannot open the file: mk:@MSITStore: C:\\Users\..\Desktop\filename.chm"

    Dear All, today i am trying to generate a chm in Robohelp 11, by combining two topics under a single book but again and again i am facing same issue  that is "Cannot open the file: mk:@MSITStore: C:\\Users\..\Desktop\filename.chm"
    Amy_WongWoojinDebbieclawsonmghalpinjwarrenJochem van DietenLee Design
    Please help me in solving the same

    HI,
    Thanks for the response.
    I am really tensed for the same...
    Actually the error occurs in the following case:
    1. I am creating a Parent folder in robohelp with the name ABC..
    2. Next Under ABC i have created 2 separate folders say XYZ and EFG.
    3. Under XYZ i have created various Topics say 2 or 3.
    4. Under EFG i have created various Topics say 7 or 8.
    5. Now, i have created a TOC with name for ABC (Parent Folder.)
    6. Next i have dragged and dropped my two sub folders that i have created under ABC in Project Set up wizard that is XYZ and EFG, in order to generate the webhelp first and then the CHM file fo rthe same.
    7. Webhelp is successfully getting generated.
    8. But when i convert the Webhelp to CHM Converter, after few seconds the robohelp gets halt and it shuts up the robohelp, showing a message dialog box that the Adobe Robohelp 11 is Troubleshooting for the error, the Windows manager will get back to you..Someting like this, the .CHM file for the same gets generated on the described path, but when i click on it, it does not open and shows the error as "Cannot open file: mk:@MSITStore: C:\\Users\..\Desktop\filename.chm".
    Please  help me in sorting the above issue.
    According to me:
    I think i am Lacking in the two things:
    1. How to link all the topics with the parent folder.
    2. How to Merge the projects.
    Can you please provide me the link where i can get tutorial to create a TOC for multiple files in a same TOC and to generate a chm for them.
    Actually for single project folder i have worked successfully. But, its first time i have to create a chm with lot many sub folders in it, as like one create a book.
    Please help
    Thanks & Regards,
    dhm

  • I updated my mac 10.8 to mavericks but after installation the app store ask for the same software update again..i have a slow connection..i cannot install it again and again..what should i do?

    I updated my mac 10.8 to mavericks but after installation the app store ask for the same software update again..i have a slow connection..i cannot install it again and again..what should i do?

    In case you are not aware, Mavericks requires a high speed broadband connection.
    In the event you need to restore or repair the starutp disk, OS X Recovery also requires a broadband connection as noted here >  About OS X Recovery
    You can check your download speed here > Speedtest.net
    15Mbps or less, you may not be able to install Mavericks or use OS X Recovery.

  • New Macbook Air i5 wireless is very slow and disconnect again and again. Any one has the same issue or some help??

    I recently bought a new 13 inch Macbook air and wireless internet is really slow and disconnect again and again. However I hav another windows laptop at the same place and that never disconects or looses signals? wireless on this mac is too slow that I cannot even use to make a skype call. I am new mac user and getting a bit disappointed because of this bad performance.I googled about this issue and found that lot of people are having the same issue with macbook air. I switched off the bluetooth adaptor but still no progress. Any help will be appreciated. Thanks

    I am experiencing something similar with my MBA 13"/i5/256GB.
    To take it one step further, I started up a Terminal session and ran a ping against my wireless router. I see the same pattern repeated over and over: I get about 5 or 6 pings through, then 4 or 5 misses, then it reconnects again. When it reconnects, the first ping or two have times in thousands of milliseconds, where normal is maybe sub-millisecond to 4ms for the remaining few seconds.
    I have other wireless devices, including iPhone, iPad, and an older MacBook - all work fine. The MBA is the only Lion device.

  • TM saves the same (never changed) files again and again

    Hello,
    I just had a look at my log, I found two problems: error 43, which I solved by changing TM disk and coming back to the original one, and something odd: it seems for the past two days TM has been saving again and again 12 files - size unchanged - from a disk containing nothing but old stuff I never ever touch.
    Jun 10 10:47:01 myMacPro /System/Library/CoreServices/backupd[75795]: Copied 12 files (25 KB) from volume XYZ.
    I get a bad feeling about this - any clues?
    many many thanks!
    T

    Hi,
    that's because you are installing over an historical timeline. Updates that you have not yet installed may have back dependencies to updates that you have removed from the update logs.
    Most updates from Win7 RTM will require the PC to be rebooted. Win7 SP1. You should not delete your Update History between reboots.
    If you require to run Diskcleanup in order to recover space from your c drive, then you have partitioned your c drive too small (100 Gb min). Go back to re-installing the OS or better from a backup or use the System Control panel to increase your c drive's
    allocated storage.
    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
    raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us
    Regards.
    Rob^_^

  • SQL 2000 - Blocking Happening again and again

    Hi  guys..
    on sql 2000 ..from today morning blocking keep happening again and again even though killed SPID .. Reastarted SQL and app server. any one has idea what will be good action item?
    also like to know scripts for sql 2000 gives detailed information about which query is blocking .
    In sp_who2 shows IIS program name as blocking 
    thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah

    Hello,
    Refer to below link
    http://support.microsoft.com/kb/224453/en-gb
    If you have Database with high concurency some blocking is inevitable ,moreover if blocking is there for few seconds its not an issue a long block is a issue though.Below query will give blocking information
    select * from sys.sysprocesses where blocked <> 0
    To check lead blocker
    IF EXISTS ( SELECT 1 FROM master.dbo.sysprocesses WHERE blocked <> 0 )
    SELECT spid,
    status,
    loginame = SUBSTRING(loginame, 1, 30),
    hostname = SUBSTRING(hostname, 1, 12),
    blk = CONVERT(char(4), blocked),
    open_tran,
    dbname = SUBSTRING(DB_NAME(dbid),1,10),
    cmd,
    waittype,
    waittime,
    last_batch
    FROM master.dbo.sysprocesses NOLOCK
    WHERE spid IN (SELECT blocked FROM master.dbo.sysprocesses)
    AND blocked = 0
    ELSE
    SELECT 'No blocking found!'
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for