How do we find Database is deleted ? Can we get alerts or notications if database is deleted in SQLServer ?

Hi Team ,
As part of Disater Recovery Test ,Higher management team is going to delete One Database from one of  my production SQLServers .We need to find deleted database  and need to restore the Database from Backup files ?
Q)How can find we deleted database information through alerts, notifications and scripts ?i.e can we get alerts or notifications if Databse is deleted ?Pls share scripts or technical steps?
Q)If we delete a database , will that information be recorded into SQLserevr logs , Windows application logs ?If yes ,pls share the Event ID fot that deleted database ?
Thnaks,
Venkat
Venkat Thota

There is one way:
SELECT     Operation,    [Transaction ID],    [Begin Time],    [Transaction Name],    [Transaction SID] 
FROM     fn_dblog(NULL, NULL)
Here pich the [Transaction Name] and [Transaction SID] 
Now below query will provide user name
USE MASTER
GO   
SELECT SUSER_SNAME(Transaction SID)
Please click "Propose
As Answer" if a post solves your problem, or "Vote
As Helpful" if a post has been useful to you

Similar Messages

  • I uploaded a CD. It's in my finder. But I can't get it into the iTunes Library--which means I can't get it on my iPod.  How do I fix?

    I uploaded a CD.  It's in my finder -- I can even play it from my finder.  But I can't get it into my iTunes Library, which also means I can't put it on my iPod. Does anyone know how to fix this or a workaround?

    How to rip CDs with iTunes - http://www.macworld.com/article/156861/2011/01/howto_rip_cds.html
    Introduction to iTunes CD Ripping Settings - http://ipod.about.com/od/introductiontoitunes/ss/importsettings.htm

  • How do I find out if I can download music from South Africa? iTunes does not have a Music or Video department on my screen

    How do I find out if I can download music in South Africa.  iTunes does not have a logo for Music or Video when I open it - oly for App store, Podcast and iTunesU.  I am doing something wrong?

    Call Apple and ask them - International Support Phone #s

  • Finder got an error: Can't get item 1 of {document file "foo" ...}

    I have a lot of files in Corel Painter 8's RIFF format. I want to write a script that opens a file and somehow forces Corel Painter 8 to save the file as a GIF. GUI scripting may be some help with the latter; now I am concentrating on finding RIFF files and opening them in Corel Painter 8.
    I have a script that does a depth-first search of the folders starting at some root folder, using the Finder application to do the file-system stuff. It creates a list with
    set docs to every document file of pages_folder whose file type = "RIFF"
    as it loops through folders it adds to the list like this:
    set more_documents to every document file of a_folder whose file type = "RIFF"
    set docs to docs & more_documents
    My naîve mental model is that docs is a list of document-file objects. Next I have a loop that attempts to strip out files for which a GIF file already exists (and is no older than the RIFF document). This works by deleting non-matching items like so:
    if not isgifneeded then
    set docs to items 1 thru (i - 1) of docs & items (i + 1) thru (length of docs) of docs
    end if
    Finally it tries to open one of the files in Corel Painter 8 using the Finder:
    open item 1 of docs using "Corel Painter 8"
    This does not work. I get an error message
    Finder got an error: Can't get item 1 of {document file "bar" of folder "foo" of folder "blah" of folder "pdc" of folder "Users" of startup disk, ... }."
    It lists all of the files. (The error message appears in a sheet that extends off the bottom of the screen!) They are identified in the message as document-file objects. The curly braces are, I believe, the AppleScript notation for a list. I expect to be able to obtain the first element of a list with ‘item 1 of xs’. My assumption is that the Finder’s open command would expect a document file object, or at least would be able to cope with being asked to open a document. What am I missing here?
    PowerBook 12" without mini-DVI   Mac OS X (10.4.7)  

    Hi Damian and welcome to Apple Discussions!
    One suggestion: try
    tell application "Finder" to open item 1 of docs
    (without 'using "Corel Painter 8"')
    As far as the Finder is concerned, "Corel Painter 8" is just a string of characters. And telling the Finder to open a file is just the same as double-clicking it: the Finder knows which app to use - as long as these are native Corel Painter 8 docs.
    Hope this helps,
    H

  • My daughter let a friend use her ipod shuffle. Now we can't find her so we can't get into her itunes. Restore still asks for her password. We just want a clean install. Is that possible?

    my daughter let a friend use her ipod shuffle. Now we can't find her so we can't get into her itunes. Restore still asks for her password. We just want a clean install. Is that possible?

    Are you sure you have an iPod Shuffle and not an iPod Touch?
    Identifying iPod Models
    B-rock

  • How deactivate Web premium CS4 when I can't get into my old computer (crashed)?

    Hi,
    At Adobe's website it says:
    "What happens if my computer is stolen or damaged and cannot be repaired?
    If your computer is stolen, damaged beyond repair or the hard drive is completely re-imaged, the activation will be lost. In either case you can install and start using the Adobe product on your new computer, which will automatically detect the problem if you already had two computers activated. The activation process will guide you through the new activation, even if the prior computer is no longer available."
    My computer has crashed but Adobe has not detected this, so I can't install my program on my new computer. What do I do?
    Thank you for answering! :-)
    //Milda

    Hi!
    There was no problem installing it on my new computor, but it says that i have to deactivate my earlier installation (within 30 days) since i have already installed it on two compters (i need to have the program on both my lap top and my stationary computer)
    Milda
    Skickat från min iPhone
    7 jun 2012 kl. 14:07 skrev "Bob Levine" <[email protected]<mailto:[email protected]>>:
    Re: How deactivate Web premium CS4 when I can't get into my old computer (crashed)?
    created by Bob Levine<http://forums.adobe.com/people/BobLevine> in Creative Suites Windows - View the full discussion<http://forums.adobe.com/message/4472862#4472862

  • How can I get alerts if a Wireless Access Point has been disconneted from the network?

    How can I get alerts if a Wireless Access Point has been disconneted from the network?
    Is it possible to get alerts via email from the WLC or WCS if Access-Point has been removed from the network?
    Thanks in advance.

    Hi,
    The below link will answer ur question!!
    http://www.cisco.com/en/US/docs/wireless/wcs/7.0/configuration/guide/7_0event.html#wp1229996
    Please dont forget to rate the usefull posts!!
    Regards
    Surendra

  • I can t get any sound notication sounds on my ipad 2 such as new email etc

    I can t get any sound notication sounds on my ipad 2 such as new email etc

    You need to turn off the mute.  The side switch is the key.  Depending on your settings, it may affect the mute or it may affect the rotation lock.  This support article from Apple provides detail.
    http://support.apple.com/kb/HT4085
    In case you're wondering, here is the history.  Originally, the mechanical switch affected only the rotation lock and the mute was a software switch elsewhere.  In IOS-3, it was changed to be the mute switch and the rotation lock became a software switch.  This was done to ensure consistency among IOS devices.  Unfortunately, a large quantity of users complained loudly, alleging that they turned the rotation lock on and off several times every hour and the convenience of the mechanical switch is essential.  In IOS-4, Apple bowed to the whiners and made the switch function selectable and now we're stuck with a mess.
    There have been some problems accessing pages on the Apple web site.  If the hyperlink gives you a "We're sorry" message, try again.

  • HT204120 Iphone shows 96 photos, sync memory show 1130 photos how do I find out what they are and get rid of them

    iphone shows 96 photos, how do i find what is using my memory for photos and get rid of them

    You're looking in the wrong place.  The "96 photos" are in iPhoto on your Mac and are being synced to your phone.  This doesn't include all those taken on the phone.
    To see the total number of photos on your phone:
    Settings > General > About > Photos >
    To see how much memory photos are using:
    Settings > General > Usage > Storage > Manage Storage >Photos & Camera
    To select what to delete:
    For photos taken on the phone:  Photos > select photo you want to delete > trashcan on bottom.  Note that deleted photos are stored in the Recently Deleted album for 30 days.  To delete them immediately, select them again from that album > delete or select Delete All
    For photos synced to your phone from your computer, deselect them in iTunes and sync again.  They can't be deleted directly on the phone.

  • In one on one I was shown how to do screenshots w/ com 4 can't get it to work now

    I was shown in one on one how to do imovie screen shots using com 4. Now I can't get it to work.
    What am I doing wrong? Thanks

    You can also remap the command to a single key:
    System Preferences, Keyboard, Shortcuts, Screenshots, select one of the options (like save picture of selected area), to an unused Fkey (I use F13 on my wired keyboard).  1 key screenshot.

  • Just updated iPhone iOS and it is asking for the wrong AppleID. How do I change it if I can't get into the iPhone?

    I just updated the iPhone iOS. I get the Hello Screen. It asks me to choose a WiFi. Then it takes me to a login but it has the WRONG AppleID listed. I changed the AppleID months ago. I do not have the password for the old ID, and I have no access to that email account to reset it. What the heck do I do? I can't get past this step.

    UPDATE: Problem solved! Just got off the phone with Apple support. It only took all of about 10 minutes tops to fix, which was great. I think it was relatively painless because I never changed my password. Even when I changed email addresses/Apple IDs, my password never changed. So if there was an old password that you no longer remembered associated with the old Apple ID, I imagine that could be trickier.
    These were the steps:
    Settings --> Messages --> Send & Recieve --> tap old Apple ID --> Sign Out
    Settings --> Facetime --> Send & Recieve --> tap old Apple ID --> Sign Out
    Settings --> Messages --> Send & Recieve --> log-in with current Apple ID
    Settings --> Facetime --> Send & Recieve --> log-in with current Apple ID
    Settings --> iTunes & App Store --> he had me verify that it was showing my current Apple ID, which it was, so we didn't need to mess with anything there
    Settings --> iCloud --> it was still showing the old Apple ID and wouldn't let me change it (it was grayed out), so he had me scroll down and Delete Account. This is where I think I needed to enter my password, but fortunately it was the same as always, so no problem there.
    -- Select "Keep data on my iPhone" or something like that
    Then:
    Settings --> iCloud --> log-in with your current Apple ID/iCloud account.
    -- Select "Merge" so it syncs everything up.
    All done!
    Good luck to anyone else who has this very annoying little issue! Hope it's as relatively painless to fix as it was for me.

  • I have the 10.6.7 update, bought Angry Birds Rio (thinking I was buy Angr   uying just Angry Birds.  I fixed the crash problems, but now I don't know what to do with this game.  Nothing seems to work--can't even find the curser.  Can I get my money back-?

    I purchased Angry Birds Rio thinking I was buying Angry Birds.  Are there any directions on what to do with this game?  Also my track pad does not respond so I really can't use this game.  Can anyone shed some light on this--first it crashed, now it doesn't respond so--can I get my money back??

    Contact apple here about a refund
    http://www.apple.com/support/mac/app-store/contact.html?form=account&topic=Mac%2 0App%20Store%20Account%20and%20Billing

  • My Macbook Pro Retina Display (13 inch, early 2015); has words imprinted on screen permanently? How do I fix this? OR can I get it replaced?

    Hi,
    I purchased a Macbook Pro 13 inch (retina display, early 2015); just over a month back. Already, I can see a few words have been permanently imprinted onto my LCD screen?
    Any solutions?
    - Is there a quick fix to it?
    - Can I get my macbook pro replaced considering it's still under 1 year warranty?

    Question 1-maybe so .  What you have is called "screen burn in" and might be the result of having the same image left on a screen for a long period of time. See if running a screensaver or something else that has moving images will erase it, or lessen it *
    Question 2- yes, if  Apple deems that the problem is serious enough that the only way to fix it is to replace your Macbook Pro. otherwise, it will repair
    * this is the word from Apple, I guess
    Avoiding image persistence on Apple LCD displays - Apple Support
    good luck
    John B

  • Having problems upgrading from I OS 4 to 5 how do I do it? I can't get any new apps on my I pad 2

    Help up grading From ios4 to iOS 5 can't get any new apps without upgrade

    You will need to connect the iPad to the computer you normally sync with, click on the name of your iPad under DEVICES in iTunes, move right to the Summary tab and click on Update. It may ask you if you want to Update prior to getting to the summary tab, say yes.

  • How do I find out if I can get multicast?

    Befor I decide to get infinity, I want to make sure my exchange has the multicast facility.....does anyone know how I find this out without having to deal with BT's customer service in India?
    Thanks

    You can call BT but if you have opted for a YouView box they won't be available on that box for quite sometime. You need a standard Black Box with the latest software. In addition to this you need a targetted software upgrade before you can see them and since they haven't officially launched yet you would need a phone call to offer you the service .
    Life | 1967 Plus Radio | 1000 Classical Hits | Kafka's World
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Helpful Post?
    If a post has been helpful, say thanks by clicking the ratings star.

Maybe you are looking for

  • Is there a way to call a function with in the initializer of a ArrayCollection?

        Is there a way to call a function with in the initializer of a ArrayCollection? It won't let me do this: var ac:ArrayCollection = new ArrayCollection([                     {childName:'addTrade',index:addTradeIndex },                     {childNam

  • Weblogic server installation in red hat linux 5

    hi i am new to the weblogic server i am trying to install weblogic server in redhat linux i downloaded .bin file from oracle i enter these commands chmod +x  wls1035_oepe111172_linux32.bin ./wls1035_oepe111172_linux32.bin The directory "/tmp" does no

  • Save entry in dropdown ALV

    Dear Friends, I made a colum in my Container based ALV as editable and given a drop down using METHOD GRID->SET_DROP_DOWN_TABLE. I am able to get the values in dropdown. But i want to capture these selected values on save and save it back to database

  • Flash/AIR Publishing Problem

    This is driving me crazy. I'm trying to compile a Flash/AS3 app into an AIR app. I've followed all the directions I can find about how to do this. When I click Publish, I see a progress bar, followed by a dialogue box telling me that the AIR app was

  • InDesign 9.2.2 and DPS V31

    I saw an update message in my Creative Cloud app that there was an update of InDesign to V9.2.2 and for the DPS-tool V31. Now I don't see them anymore. How can I solve this problem?