I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id

I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id
these inserts will store in two tables that I have to join in the cursor.
I have written cursor without passing cursor parameters. but here i need to pass acb_id and xyz_id along with alert_id.
then if these are saticified with alert_id 22 then I want to stop the loop run, else i need to continue the loop. bcause the abc_id and xyz_id are diff for alert_id 22
This is the issue I am facing!
Please let me know if you have any idea. Let me know how to use cursor parameters here and in loop.
Sample proc like this::
Declare
main_cursor
another_cur
alert_cur
begin
need to check first abc_id,xyz_id is already exist with alert_id 22
if this set of records already exists then
exit from the loop
else
continue with
loop
here coming the insert statements with different condition getting from first two cursors.(this part is ok for me)
end loop
end if
Please write the logic if any idea on this.
-LRK

I want to stop if already alert_id is exist!

Similar Messages

  • I tried to update Safari for OS 10.7.5 and it no longer works.   What should I do to revive it?

    I tried to update Safari for OS 10.7.5 and it no longer works.   What should I do to revive it?

    Try cleaning the lens and see if that will restore functionality to the DVD drive.  Use a DVD lens cleaning disk, if you have a can of compressed air, shoot some into the slot or wrap a fine microfiber cloth (eyeglasses cleaning cloth)  around a business card and insert it gently inside the slot.
    If no success, make an appointment at an Apple store genius bar and get a free diagnosis from them.
    Ciao.

  • Hi there, I am trying to sign up for CC with an exisitng Adobe ID that I used for the Lightroom and Phtoshop trials.

    I am trying to sign up for CC with an exisitnd Adobe ID that I used for the Lightroom and Phtoshop trials.  Can you tell me how to do that?

    http://www.adobe.com/products/creativecloud/faq.html
    http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
    What it is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
    Cloud Getting Started https://helpx.adobe.com/creative-cloud.html
    Cloud Plans https://creative.adobe.com/plans
    -Special Photography Plan includes Photoshop & Lightroom & Bridge & Mobile Lightroom
    -Special Photography Plan includes 2Gig of Cloud storage (not the 20Gig of the full plan)
    -http://helpx.adobe.com/creative-cloud/faq/mobileapps.html
    -http://helpx.adobe.com/photoshop/kb/differences-photoshop-creative-cloud-photography.html
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
    -http://www.adobe.com/products/catalog/mobile._sl_id-contentfilter_sl_catalog_sl_mobiledevi ces.html

  • I've got a new MacBookair11 2weeks ago and I am very happy with it. Today I've tried to synchronize it via icloud with my ipad and I have lost the camera. Looking through help in internet I found out that I had to reset the SMC. I did exactly as per instr

    I’ve got a new MacBookair11 2weeks ago and I am very happy with it. Today I’ve tried to synchronize it via icloud with my ipad and I have lost the camera.
    Looking through help in internet I found out that I had to reset the SMC. I did exactly as per instructions given but with no luck.
    Is there any other solutions that will fix my camera for facetime and iphoto?
    Thanks for your help 

    MacBook Air (Mid 2013): FaceTime HD Camera might not work after OS X 10.8.5 update:
    "Apple is investigating this issue."

  • Tried updating software but now frozen with itunes logo and usb cable picture on screen help

    Tried updating ipod software, now frozen with itunes logo and usb cable picture on the screen. Computer will not reconise it

    - If ou can turn the iPod off, then see if manually placing the iPod in Recovery mode  will allow a restore. Next try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If it always remains on let the battery fully drain. After charging for at least an hour try a rest and restore.

  • Partitioning an External 320gb drive for use with Time Machine and...

    I want to be able to use my Western Digital 320GB external drive for use with Time Machine and to use as extra storage space on both my Mac and when I boot into Windows Vista.
    Is this possible?
    I was playing around in Disk Utility and would I partition the part I want to use for Time Machine with the Mac OS Journaled, and whatever I want as space for windows, use a MS - DOS format?
    Has anyone done this before?
    Cheers-

    Unless you are using 64 bit version of MSWindows (64 bit XP/Vista), it won't be able to handle a disk with GUID partition table (GPT). Disks with Apple Partition Map (APM) or GUID partition table are the only ones that Time Machine will work with (not MBR disks). Note also that the MBR/APM/GPT are at the DISK level and not the partition level, so don't mix the format with partitioning scheme. Time Machine disks are meant to live in the Mac universe (for now, anyway) and sharing with the MSWindows 32-bit universe is not possible.
    See http://img87.imageshack.us/my.php?image=macpcdiskdd06sv8.png for some additional background.

  • What's the phone number I should call for help with my iPhone and ihome dock?

    What's the phone number I should call for help with my iPhone and ihome dock?

    http://www.ihomeaudio.com/support/

  • Which iMac for use with Photoshop CS5 and Lightroom

    Any opinions on which iMac is best for use with Photoshop CS5 and Lightroom. Not sure if the 2.7 i5 with 512 graphics card is Plenty of power or if upgrading to the 3.1 i5 or 3.4 i7 is a wiser choice given the price differences. Appreciate the help

    So I was reading over your post, and even though this is older and has to do with CS5, I have some information for CS6 that will be relevant to your question now that it is time to upgade the software. In general Photoshop has always been more about RAM than Processing power, though that is important too. Until CS5 it could never quite take advantage of what multi-core processors really had to offer, and even the graphics card didn't really effect much of it outside of certain features and the 3D optio
    Now that is no longer true and Adobe can effeciently use all aspects of the computer to give you much better performance.
    So much so that I was able to buy a brand New ASUS with the following specs:
    Dual Core 2.2GHz Processors
    8GB of RAM (4GB original to the machine)
    Windows 7 Home Premium 64Bit OS
    320GB HDD w/ 5400RPM
    This machine not only runs photoshop CS6 and Launches in less than 5 Seconds... it can run Premier and After Effects as well, and this Laptop cost me less than $400 (on sale at Best Buy 2 Weeks Ago. You don't have to buy something this cheap, but isn't it great that you can and still run Master Collection effectively?
    You can read my details on how to buy a Photoshop CS6 Laptop, what specs you need, comparison between Mac and PC and watch the video of my Photoshop Speed Test by reading this article:
    http://robertoblake.com/blog/2012/06/buying-a-photoshop-cs6-laptop

  • Free webinar: Creative Cloud for Photography with Ps CC and Lr5

    Creative Cloud for Photography with Photoshop CC and Lightroom 5
    Friday, June 21, 2013 | 12:00 PM PT
    Presented by: Julieanne Kost
    http://www.adobe.com/cfusion/event/index.cfm?event=detail&id=2008488&loc=en_us
    Join Julieanne Kost, Principal Digital Imaging Evangelist, as she demonstrates new features in Photoshop CC and Lightroom 5, as well as sharing and collaboration features of Adobe Creative Cloud. In this Ask A Pro session, you will:
    Learn how Creative Cloud brings additional capabilities to your workflow with Sync Settings, Sync Fonts, and sharing with Creative Cloud
    See new features in Photoshop CC to enable more advanced sharpening than ever before with all-new Smart Sharpen, intelligent upsampling, and Camera Shake Reduction.
    Learn how to perfect your images using the new Upright and Advanced Healing Brush in Adobe Camera Raw 8 and Lightroom 5
    See how to customize your photo books in the updated Book module in Lightroom 5
    Share your images with the leading online platform to showcase and discover creative work using Share to Behance from within Photoshop CC

    http://blogs.adobe.com/jkost/2013/06/creative-cloud-for-photographers-with-photoshop-cc-an d-lightroom-5.html

  • Going for fun with x-men and godzilla at cinemas

    Going for fun with x-men and godzilla at cinemas, yeah i planned to watch both movie on cinema today but i cancelled because finally i found a real working link for both movie, and of course i watch another movies from same site, check the movie list that
    i watch it today online.enjoy!
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6202-watch-the-other-woman-online-free-streaming-2014]Watch The Other Woman Online Free Streaming 2014[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260413.aspx]((Putlocker)) Watch The Other Woman Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58390]Megashare> Watch The Other Woman Online Free 2014 Putlocker[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-the-other-woman-online-free-2014-full-movie-stream]+Putlocker+ Watch The Other Woman Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6205-watch-x-men-days-of-future-past-online-free-2014]Watch X-Men Days of Future Past Online Free 2014[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260416.aspx]((Putlocker)) Watch X-Men Days of Future Past Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58413]Watch X-Men Days of Future Past Online Free 2014 [Putlocker][/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-xmen-days-of-future-past-online-free-2014-full-movie-stream]+Putlocker+ Watch X-Men Days of Future Past Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6211-watch-godzilla-2014-online-free-putlocker-stream]Watch Godzilla (2014) Online Free Putlocker Stream[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260433.aspx]((Putlocker)) Watch Godzilla Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58458]Megashare> Watch Godzilla Online Free 2014 Putlocker[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-godzilla-online-free-2014-full-movie-stream]+Putlocker+ Watch Godzilla Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6228-watch-neighbors-online-free-2014-putlocker-stream]Watch Neighbors Online Free 2014 Putlocker Stream[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260437.aspx]((Putlocker)) Watch Neighbors Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58504]Megashare> Watch Neighbors Online Free 2014 Putlocker[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-neighbors-online-free-2014-full-movie-stream]+Putlocker+ Watch Neighbors Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6246-watch-the-amazing-spider-man-2-online-free-2014]@Watch The Amazing Spider Man 2 Online Free 2014[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260448.aspx]((Putlocker)) Watch The Amazing Spider Man 2 Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58546]Megashare> Watch The Amazing Spider Man 2 Online Free Stream[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-the-amazing-spider-man-2-online-free-2014-full-movie-stream]+Putlocker+ Watch The Amazing Spider Man 2 Online Free 2014 Full Movie Stream[/url]

    % Looks like the Windows 7 Upgrade Advisor is still a POS, and still beta. Yes your card will work with 7. Most are using this,
    http://forums.creative.com/t5/Sound-...09/td-p/527485
    with little to no problems (more no) on 7. I know that my Xtreme Music is working just fine in 7 x64.

  • Settings for PHP5 With Apache 2  and SAPRFC in WIndows

    Hi,
    Can anyone give me the exact version of software that needed for the settings for PHP5 with Apache 2 and SAPRFC in Windows.Thank you

    If it's just a test/dev environment you need you can try "<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn?rid=/library/uuid/e50bd86e-0a01-0010-53bd-857585234a6a">scripting in a Box</a>" it also lists the versions and pieces needed for the setup you are looking for.

  • HT4623 I am trying to update my iPad 32 with retina display and whenever I do it tells me that I am not connected to the Internet even though I am. I have tried several different wifi spots with the same results. Any suggestions would be helpful. Thanks

    I am trying to update my iPad 32 with retina display and whenever I do it tells me that I am not connected to the Internet even though I am. I have tried several different wifi spots with the same results. Any suggestions would be helpful. Thanks

    Try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Can anyone recommend a good printer for working with an iMac and a MacBook Pro wirelessly?

    Can anyone recommend a good printer for working with an iMac and a MacBook Pro wirelessly?

    canon pixma 6200 series works

  • Understanding logminer results -- inserting row into table with CLOB field

    In using log miner I have noticed that inserts into rows that contain a CLOB (I assume this applies to other LOB type fields as well, have only tested with CLOB so far) field are actually recorded as two DML entries.
    --the first entry is the insert operation that inserts all values with an EMPTY_CLOB() for the CLOB field
    --the second entry is the update that sets the actual CLOB value (+this is true even if the value of the CLOB field is not being set explicitly+)
    This separation makes sense as there may be separate locations that the values are being stored etc.
    However, what I am tripping over is the fact the first entry, the Insert, has a RowId value of 'AAAAAAAAAAAAAAAAAA' which is invalid if I attempt to use it in a flashback query such as:
    SELECT * FROM PERSON AS OF SCN #####'  where RowId = 'AAAAAAAAAAAAAAAAAA'The second operation, the Update of the CLOB field, has the valid RowId.
    Now, again, this makes sense if the insert of the new row is not really considered "+done+" until the two steps are done. However, is there some way to group these operations together when analyzing the log contents to know that these two operations are a "+matched set+"?
    Not a total deal breaker, but would be nice to know what is happening under the hood here so I don't act on any false assumptions.
    Thanks for any input.
    To replicate:
    Create a table with CLOB field:
    CREATE TABLE DEVUSER.TESTTABLE
            ID NUMBER
           , FULLNAME VARCHAR2(50)
          , AGE NUMBER  
          , DESCRIPTION CLOB
           );Capture the before SCN:
    SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;Insert a new row in the test table:
    INSERT INTO TESTTABLE(ID,FULLNAME,AGE) VALUES(1,'Robert BUILDER',35);
         COMMIT;Capture the after SCN:
    SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;Start logminer session with the bracketing scn values and options etc:
    EXECUTE DBMS_LOGMNR.START_LOGMNR(STARTSCN=>2619174, ENDSCN=>2619191, -
               OPTIONS => DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG + DBMS_LOGMNR.CONTINUOUS_MINE + -
               DBMS_LOGMNR.COMMITTED_DATA_ONLY + DBMS_LOGMNR.NO_ROWID_IN_STMT + DBMS_LOGMNR.NO_SQL_DELIMITER)Query the logs for the changes in that range:
    SELECT
           commit_scn, xid,operation,table_name,row_id
           ,sql_redo,sql_undo, rs_id,ssn
           FROM V$LOGMNR_CONTENTS
        ORDER BY xid asc,sequence# ascResults:
    2619178     0C00070028000000     START                  AAAAAAAAAAAAAAAAAA     set transaction read write
    2619178     0C00070028000000     INSERT     TESTTABLE     AAAAAAAAAAAAAAAAAA     insert into "DEVUSER"."TESTTABLE" ...
    2619178     0C00070028000000     UPDATE     TESTTABLE     AAAFEXAABAAALEJAAB     update "DEVUSER"."TESTTABLE" set "DESCRIPTION" = NULL ...
    2619178     0C00070028000000     COMMIT                  AAAAAAAAAAAAAAAAAA     commitEdited by: 958701 on Sep 12, 2012 9:05 AM
    Edited by: 958701 on Sep 12, 2012 9:07 AM

    Scott,
    Thanks for the reply.
    I am inserting into the table over a database link.
    I am using the new version of HTML Db (2.0)
    HTML Db is connected to an Oracle 10 database I think, however the table I am trying to insert data into (via the database link) is in an Oracle 8 database - this is why we created a link to it as we couldn't have the HTML Db interacting with the Oracle 8 database directly due to compatibility problems (or so I've been told)
    Simon

  • How to get the inserted row primary key with out  using select statement

    how to return the primary key of inserted row ,with out using select statement
    Edited by: 849614 on Apr 4, 2011 6:13 AM

    yes thanks to all ,who helped me .its working fine
    getGeneratedKeys
    String hh = "INSERT INTO DIPOFFERTE (DIPOFFERTEID,AUDITUSERIDMODIFIED)VALUES(DIPOFFERTE_SEQ.nextval,?)";
              String generatedColumns[] = {"DIPOFFERTEID"};
              PreparedStatement preparedStatement = null;
              try {
                   //String gen[] = {"DIPOFFERTEID"};
                   PreparedStatement pstmt = conn.prepareStatement(hh, generatedColumns);
                   pstmt.setLong(1, 1);
                   pstmt.executeUpdate();
                   ResultSet rs = pstmt.getGeneratedKeys();
                   rs.next();
    //               The generated order id
                   long orderId = rs.getLong(1);

Maybe you are looking for

  • Please help, simple query not working

    Have the following script that I would like to run at multiple sites and create table columns if necessary: DECLARE table_name VARCHAR2 (30) := 'SITE_STATISTICS'; column_name VARCHAR2 (30) := 'SITE_MONTH'; column_data_type VARCHAR2 (30) := 'DATE'; co

  • Dba_hist_sqlstat

    Hi Guys, I have a SQL_ID of a sql statement and i'm trying to find whether it has been executed 3 days ago between 10am to 11am. From my understanding, we have a base table (awr): dba_hist_sqlstat that stores historical statistics. Any idea whether t

  • Old CD-drive don't detect RW CD's [SOLVED]

    I have an old i586 box and I would like to install Arch on it (I'm posting here because it's not really i586 related). I got an i586 iso and burned it on a Memorex brand CD-RW. The problem is the old CD-drive doesn't detect the CD. The old CD-drive w

  • Where do i find out new version information

    How do I find out the updates or features of new version of Firefox? I went to mozilla web site http://www.mozilla.org/en-US/firefox/new/ and clicked on what's new and it took me to the download page?

  • MRU without Checksum? Is it possible?

    Hi, I have a MRU-Process in my form. Before that I do some DML on that table. Now, when the MRU-Process starts I got the checksum error (version has changed blblbl...) - I don't need these checksum lookup because I use a temporary table in this sessi