Script to find if list of Apps patches exists in DB 'A' but not in DB 'B'

Hi All,
DB:11.1.0.7
Oracle Apps:12.1.1
OS:Linux 86x64 bits Red Hat
Could anyone please share the script to find if list of patches exists in DB 'A' but not in DB 'B'
Thanks for your time
Regards,

We have already answered you, not sure why you keep asking the same question!
SELECT bug_number,creation_date from ad_bugs where bug_number in
('1234','5678','56783','4321','765432');
I get the list of patches out of the above say - '1234','5678'
Now how to get the list of patches out of the above list of 5 patches which are not in the DB 'A' .I know this could be done manually but this is just an example as there may be hundreds of patches like this in ad_bugs to extract and we cannot manually do it in excel or any other way bit through a queryRun the same query in Database B and compare it with the output of Database A. Or, simply create a database link for Database B from Database A and run this query from DB A:
SQL> SELECT bug_number, creation_date
from ad_bugs
where bug_number in ('1234','5678','56783','4321','765432')
minus
SELECT bug_number, creation_date
from ad_bugs@<DBlink to DB B>
where bug_number in ('1234','5678','56783','4321','765432');Thanks,
Hussein

Similar Messages

  • HT204397 Where can I find a list of apps that would use an app-specific password?

    Where can I find a list of apps that would use an app-specific password?

    I'm not aware of any such list.

  • I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

  • My iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

    my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

    my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

  • How can I share my music and some apps with my children's devices, but not share iMessage

    How can I share my music and some apps with my children's devices, but not share iMessage

    Then only set up your account in "Settings > iTunes & App Stores" and don't give them your password .

  • HT4009 I made an in app purchase, was charged for it, but not not receive item. How do I get a refund?

    I made an in app purchase, was charged for it, but not not receive item. How do I get a refund?

    How to Get a Refund from the App Store

  • PS Script to find the list of users and the groups in a Workgroup server

    Hi There, could you please explain on how to get a complete list of local users and local groups in a "Workgroup" server to which they belong to using Powershell. I'm able to get the users list but couldn't find any help in finding
    the script to find to which localgroup the user belong to. Anticipating your response. Also let me know the cmdlet for Win2k3 servers to find the same.

    Here's some code from David Pham (don't remember wher I fund this code):
    Trap {"Error: $_"; Break;}
    Function EnumLocalGroup($LocalGroup)
    $Group = [ADSI]"WinNT://$strComputer/$LocalGroup,group"
    "Group: $LocalGroup"
    # Invoke the Members method and convert to an array of member objects.
    $Members= @($Group.psbase.Invoke("Members"))
    ForEach ($Member In $Members)
    $Name = $Member.GetType().InvokeMember("Name", 'GetProperty', $Null, $Member, $Null)
    $Name
    # Specify the computer.
    $strComputer = gc env:computername
    "Computer: $strComputer"
    $computer = [adsi]"WinNT://$strComputer"
    $objCount = ($computer.psbase.children | measure-object).count
    $i=0
    foreach($adsiObj in $computer.psbase.children)
    switch -regex($adsiObj.psbase.SchemaClassName)
    "group"
    { $group = $adsiObj.name
    EnumLocalGroup $group }
    } #end switch
    $i++
    } #end foreach

  • How do I find a list of apps and their prices on my iPad?

    I just got $160 in charges on my iTunes account and have no idea what happened unless my 6 year old bought a lot of stuff without my consent. My problem is I can see the list of apps on my iPad but can't find where to log in to iTunes on my laptop. My computer is not a Mac. Would love some help.

    I should probably note that the laptop I set up my iTunes account on no longer works if that is a factor.

  • Script to find the list of Queries currently running in database with User Login Name and Host Name.

    Hai,
    How to find the list of queries currently running in the Database with User Login Information.
    Since my database application is running slow, to find the slow queries.

    Try the below query
    SELECT r.start_time [Start Time],r.session_id [SPID],
    DB_NAME(database_id) [Database],
    s.host_name,
    s.program_name,
    s.login_name,
    SUBSTRING(t.text,(r.statement_start_offset/2)+1,
    CASE WHEN statement_end_offset=-1 OR statement_end_offset=0
    THEN (DATALENGTH(t.Text)-r.statement_start_offset/2)+1
    ELSE (r.statement_end_offset-r.statement_start_offset)/2+1
    END) [Executing SQL],
    r.status,command,wait_type,wait_time,wait_resource,
    last_wait_type
    FROM sys.dm_exec_requests r
    OUTER APPLY sys.dm_exec_sql_text(sql_handle) t
    inner join sys.dm_exec_sessions s
    on s.session_id = r.session_id
    WHERE r.session_id !=@@SPID -- don't show this query
    AND r.session_id > 50 -- don't show system queries
    ORDER BY r.start_time
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Why am I finding this when I run disk utility? ACL found but not expected on "Library/Application Support/Apple/ParentalControls/Users"

    I am finding this when I run repair disk permissions in disk utility:
    ACL found but not expected on “Library/Application Support/Apple/ParentalControls/Users”
    Why is there an access control list on parental controls on my MacBook?  I don't use parental controls and I am the only user of this MacBook. I'm an old guy too, so it's not my Mom putting controls on the MacBook! ;-)
    Thanks!
    MacBook Pro 9, 2
    System Version: OS X 10.8.5 (12F45)
    Kernel Version: Darwin 12.5.0
    Boot Mode: Normal

    From the article I posted a hyperlink to in my 1st post (at bottom): You can also usually ignore any "ACL found but not expected..." message. These messages can occur if you change permissions on a file or directory; they are accurate, but generally not a cause for concern.

  • Why do some Apps(programs) appear in my dock, but not in my launch pad?

    I recently downloaded Open Office and Adobe Photo Shop 12 .  Photo shop appears in both my dock and launch pad.  However Appace Open Office just appears in my dock, but not my launch pad, and also the open office little disk or cd reader icon (white 3d rectangle with image of black slot in front) appears on the right side of my screen.  I can't eject it because I get a popup that says it is being used by "Open Office" and I have to quit the application to eject it.  My question is if I quit the application using "Command" Q and then eject "Open Office" will I loose open office and have to downlad it again?
    I think I answere my question.
    I clicked on the Open Office Icon in my dock, had it go to "Finder" then ejected the "Open Office" disck reader icon and it went away from my screen.
    I then went to "Finder" and opened it up and Lo and Behold "Open Office" disappeared from there too. Boy that sure is crappy.
    So I downloaded it again. 
    Is there anyway to clean up the desktop so I don't have those silly images hanging around?

    There have always, well for the past few years, written installers that just create a mess.  All installed applications should appear in Finder, Applications.  Not all of those will appear in Launchpad.  When you encounter one that does not appear in the correct way, all you can do is manually move things around so it is consistent with the way apps should work.

  • App Shortcut Widget - Ovi Sync available, but not ...

    I've set up a SyncML profile for Google Contacts (so I don't have to waste my MfE) account using the Sync app on my N8.
    I want to add an application shortcut of "Sync" (not Ovi Sync) to the shortcut bar.
    When I browse the list of applications, it is nowhere in the list.
    I would be happy with a "main menu" item if that is all we have available. I set one shortcut to "Tools" which shows "Ovi Sync" as a menu item, but not plain old "Sync".
    When I browse the available apps using the Grid Application (from Ovi Store), I can see an Ovi Sync, and a Sync icon. 
    So why can't I select plain old Sync from the apps menu?
    Am I missing something really basic here? 
    Nokia N8

    Hi Spamthroat,
    When you see Shazam in the updates available, it means that you can download this application and install it in your mobile. For this, it is not mandatory to have it installed already.
    If you want to install this application, go ahead and install it by updating. If that fails you can also try installing the same by downloading the same from OVi store too.
    If you dont need to install the application, you can ignore that update
    Regards,
    Diwa
    If you like my post, kindly acknowlege the same by giving a kudos to me

  • Android App - works fine in Device Central but not in phone

    Greetings!
    Just looking for some general "you might try this" tips.  I've built a very basic game app for Android so I can start learning not only how to develop for Android, but also how to publish and distribute Android apps to users.
    My game works fine when I test in Device Central from Flash.  And I've been able to upload my app to the Android Market. But when I install and run on my Android phone (I've actually tested on two separate devices), I just get a light yellow screen with a series of tiny dots that move across the screen, almost like a loading indicator, but nothing happens after that.
    I've tried publishing as both an Air (Air 2) file and a Flash (Flash 10) file.  In device central, I tested the app on a Droid Incredible emulation.  The devices I've tested on are an HTC Inspire (AT&T) and an HTC Thunderbolt (Verizon).
    So, I know there's no way for someone to take my limited description above and say "this is your problem".  Again, I'm just hoping for some general tips along the lines of "try publishing in a different version of Flash".
    Any suggestions for where I should start digging? 
    Thanks in advance!
    Joel

    Sign out of the store on your phone, then sign back in. Note having content from more than one country's store may complicate the process of updating apps and downloading past purchases.
    tt2

  • Medical app from Intuit works in IE, but not Firefox.

    Encrypted medical app works in new IE, but not Firefox. Everything works down to the end, and click on "continue" and nothing happens. A tech and I have spent hours on this. Did not work on FF5 or 6. Did not work on old IE, but did on fresh new version with no data files copied in.

    If it works in IE but not FF, then it has nothing to do with the mp3s. More likely it's because of the HTML on the page.
    To start, page is missing DOCTYPE declaration... a MAJOR problem. The DOCTYPE declares which set of rules the browser will use to display the page. Without it, different browsers go crazy or do not work at all.
    http://www.w3schools.com/tags/tag_DOCTYPE.asp
    Validate the html code here:
    http://validator.w3.org/
    You will have to fix all the errors if you want this to work in all browsers.
    Best wishes,
    Adninjastrator

  • Built app with subpanels works for me, but not for him

    Using labview 8.6 I have successfully built several revisions of an app that has multiple subpanels.  It has successfully executed on several different hosts.   However, with the most recent version I received a report that it launches, but the sub-panels do not load.  Of course, WFM (works for me) -- the sub-panels are compiled into the app and they load just fine for me.  The other user is using the free 8.6 LabView runtime.  Again, previous app revisions have worked fine, and I don't know what is different about this build that could affect loading of the subpanels.
    On my PC I renamed the path to the source files just in case the built app was picking up some missing file directly from the original VI directory.  Still works for me.  I even monitored it with FileMon (sysinternals.com) and confirmed that it never tried to open any other file (which further confirms that all the sub-panels are successfully incorporated into the built application).
    The only other significant difference is that the app is designed for 1280x1024 screen and the other user is running on a 1024x768 laptop.  But how could that affect loading the sub-VIs?
    Does anyone have any idea what would cause a built application with subpanels to work fine on one host but not display the sub-panels on another host?
    Thanks and Best Regards,
    J.

    How are you getting the software on the other computer? Did you build an installer?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for

  • 1st generation ipod nano sync help

    I have a 1st generation iPod nano that was given to me - I want to delete the current music and sync my own iTunes - help!

  • HT201263 My phone will only work if it is plugged into the wall charger.

    I tried to reset my phone by pushing the home and top button and the "plug into iTUNES" message came on. But when i unplug my phone from the wall to plug it into my computer it shuts off. When i plug it into the computer the apple icon just flashes o

  • Can LR 4 use Bridge CS5 Metadata Templates?

    I have generated approx 30 + Metadata Templates in Bridge CS5 and I want to see if I can speed up my work flow when working in Lightroom 4. So I suppose the question is ; is it possible to achieve the apparent impossible or is there a solution? Thank

  • Eim mapping reports changed from tools to webclient?

    can anyone tell me how to generate eim mapping report which was on tools for siebel 7.7? i heard it is now generated through client and when trying to generate it is giving error "No file has been attached to a record please attach a file SBL-SVC-001

  • Developp with LabVIEW for PC but need to compile for MAC

    Hello, My customer has a LabVIEW Professionnal development suite for Windows.  All the applications should be running under Windows but one (a file viewer) needs to run under both Mac OS and Windows.  How can I acheive this?  Do my customer needs to