Is there any way i can make ase to put something in errorlog when the one of the db is dropped
Hello
a silly query
I had dropped the db and closed the putty can it be possible anyway to prove someone that i had dropped the database.
Thanks
I don't know of any way to have ASE automatically log that to the errorlog.
If this is a general ongoing requirement, I'd recommend using the auditing features.
To show it historically, the transaction log in the master database can provide proof (assuming you weren't using a shared login). When you drop a database, ASE logs a BEGINXACT log record that has a transaction name of $dbdestroy <databasename>. The record also contains the suid of the user and a datetimestamp.
dbcc log(dbid,0,0,0,number of records to print,0)
The final 0 is the filter for BEGINXACT record types, which has an op code of 0.
Example
1> create database x
2> go
CREATE DATABASE: allocating 1536 logical pages (24.0 megabytes) on disk 'master'
(1536 logical pages requested).
Database 'x' is now online.
1> drop database x
2> go
1> set switch on 3604
2> go
Switch 3604 ('print_output_to_client') is turned on.
All supplied switches are successfully turned on.
1> dbcc log(1,0,0,0,1000,0)
2> go
LOG SCAN DEFINITION:
Database id : 1
Log operation type BEGINXACT (0)
Forward scan: starting at beginning of log for 1000 log records
Maximum of 1000 log records.
LOG RECORDS: (0 records did not qualify so far.)
BEGINXACT (4054,1) sessionid=4054,1
attcnt=1 rno=1 op=0 padlen=6 len=72
odc_stat=0x0000 (0x0000)
loh_status: 0x0 (0x00000000)
masterxsid=(invalid sessionid)
xstat=XBEG_ENDXACT,
spid=17 suid=1 uid=1 masterdbid=0 dtmcord=0
name=$dmpxact time=Mar 5 2015 9:26:25:270AM
BEGINXACT (4054,11) sessionid=4054,11
attcnt=1 rno=11 op=0 padlen=5 len=64
odc_stat=0x0000 (0x0000)
loh_status: 0x0 (0x00000000)
masterxsid=(invalid sessionid)
xstat=XBEG_ENDXACT,
spid=17 suid=1 uid=1 masterdbid=0 dtmcord=0
name=x time=Mar 5 2015 9:26:53:280AM
BEGINXACT (4054,19) sessionid=4054,19
attcnt=1 rno=19 op=0 padlen=2 len=72
odc_stat=0x0000 (0x0000)
loh_status: 0x0 (0x00000000)
masterxsid=(invalid sessionid)
xstat=XBEG_ENDXACT,
spid=17 suid=1 uid=1 masterdbid=0 dtmcord=0
name=$dbdestroy x time=Mar 5 2015 9:26:57:280AM
Total number of log records 3 qualified out of 3 scanned.
DBCC execution completed. If DBCC printed error messages, contact a user with
System Administrator (SA) role.
So the third BEGINXACT record output here shows that suid 1 ("sa", that is me), destroyed (dropped) database named "x" at 9:26AM
Cheers,
-bret
Similar Messages
-
My Old macbook pro that i bought in 2009. I have broke my screen and havent used it for a while, and now i have found out that i can use a monitor , but i have forgot my password is there any way i can make a new password? Thank you for reading this.
Have you read for possible solutions over in the "More Like This" thread over here?----------------------->
-
IS there any way i can make something appear on the external
screen or use the camera or microphone?Hi. Sorry, but isn´t this something that has been around forever?
Regards
Lars @ søgemaskineoptimering -
is there any way i can make a face time call without using wifi?
Unfortunately, no. FaceTime is only available over wi-fi. I do know that services like Skype and Tango allow you to videochat over 3G and wi-fi.
-
Is theres any way i can make yahoo calls from my account to another , like pc to pc
is theres any way i can make yahoo calls from my account to another , like pc to pc
by the way. if it means anything. i am using the Australian iTunes store.
-
My IPOD 7th Generation is not compatible with my cars audio system. I had the IPOD nano 4th generation earlier and it was perfectly working on my car audio system. Is there any way i can make the IPOD Nano 7th generation compatible with my car audio system?
I am assuming you are using the Lightning to 30 pint adapter and it is not working?
-
I have a mid 2009 and a late 2011 MacBook Pro, they both have the latest upgrade of Lion. Neither of them can "see" each other in AirDrop. I have reset the apple ID on both. Is there any way I can make them "see" each other?
As far as I know the older mac is compatible with AirDrop.
ThanksSo by dual-signal, are you referring to 2.5Ghz/5Ghz signal?
I'm pretty sure my Mac mini 2011 has that but for whatever reason I cannot send via AirDrop to the mini. The mini can see other computers like my 2010 MacBook Pro and send files to it, but not in reverse. The MBP is unable to see or send to the mini unless the mini has engaged it to send a file to MBP. Even then it's temporary and the mini will disappear from the MBP's AirDrop radar upon completing the delivery of its file.
So I'm a bit perplexed on how the Mac mini has AirDrop, can see other AirDrop computers and send files to them, but cannot be seen on other Macs to reciprocate. -
I've been working on a newsletter and have the final version. But I wanted to check something in a verssion I did last week. If I choose the day in Time Machine, is there any way I can view that document without "restoring" it to replace the final version?
You can drag and drop a file from TM to the desktop.
Let's say your newsletter is on the desktop. First thing to do is to add something to the file name, say Newsletter_1.
Next open TM as if it is just another external drive by double clicking the icon. (This is not the same as "Enter Time Machine" which you do when you want to restore.) The file hierachy in TM follows the same logic as on your hard drive. Navigate to the date you want, find the file you want, and drag and drop it where you want it to be. Because you changed the name of the most recent version you can both files in the same space.
I do this often.
But remember if you make a back up now you will end up with both versions in TM. -
My parent's IPad is SUPER outdated and I'm trying to buy an app for my brother for Christmas. However, I can't buy the app because it says we need to update the software. The thing is, the computer that was connected to the IPAD, we no longer have. So is there any way I can update it on my mac without erasing all the photos and videos?
HELPPP ME BEFORE CHRISTMASS MORNING!!
-
Hello everyone
I've recently messed up my Mac OS X Lion by deleting Aperture, but I need to get my data out of the computer. I've tried to repair it using DU, but it said I needed to backup all my data and reinstall the OS. How do I backup my data to an external drive?
And by the way, I've got an important project in Final Cut Pro X. Is there any way I can back it up (including fxs and positions of the clip) ?
Hope you guys can help me!You need to back up 2 folders, Final Cut Events and Final Cut Projects which by default are located on your Movies Folder. You can always check by clicking on a clip inside Fianl Cut X and selecting Show in Finder in the contextual menu for the selected clip.
-
I have updated my IPhone 4s to ios6, but for some reason it didn't install Siri with the update, is there any way I can install it onto my IPhone without jail breaking the phone?
Macca_astles01 wrote:
It is an iPhone 4s, it has voice control but it's not Siri, is there any way I can install it?
It cannot be installed. It comes pre-installed on every iPhone 4S and later. Maybe it was disabled under Settings > General > Restrictions.
Courcoul wrote:
Wasn't SIRI one of the gee-wiz doodads introduced with iOS 6? Cause my boss' 4s w/iOS 5 certainly does NOT have it. And on my i5, the Spanish-speaking SIRI I got turned out female, with all the foibles and vicissitudes....
iOS 6 only added support for the 3rd generation iPad. It was always on the iPhone 4S. Then the same goes for your boss: Maybe disabled in restrictions, or maybe actually an iPhone 4. -
when i send an iMessage, it comes up as my email address. is there any way i can get it to come up as my name?
Make sure the receipient(s) have you in their Contact app with that email address and your name.
-
Someone stole my iPod touch and I'm afraid they will get in my email from my iPod touch is there any way I can find my iPod touch or erase my info from it from my laptop I have my serial number
These are your only options.
http://support.apple.com/kb/HT2526?viewlocale=en_US
Basic troubleshooting steps
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
In Memory of Steve Jobs -
I am not very tech oriented - I love my Ipod - had a library of 800- 900 songs - my computer was stolen, I have since bought a new one - started a new library because I could not figure out how to access my old library. Is there any way I can somehow find that original library and add it to my new library??
If these are photos that were synced to your phone, the only way to extract them from your phone is third-party software, like this:
http://www.wideanglesoftware.com/touchcopy/index.php -
Is there any way I can program "Capture" to save pnp.picts on the desk, but always under the same name, without a date ?
It may be sound weird, but I use it in a very special way, and I would like, like photoshop, that capture just replace
the previous pict by the new one..without any warning.
PierreThere is no way to go back from an XFA form to an Acroform even with Acrobat Pro, still less with Acrobat. You either need to remake the form, or change your plans to use a third party viewer - Adobe have an excellent range of programs they would like you to use!
Maybe you are looking for
-
Lot of build errors in project created for debug CRM 5.0
Hi SDN! I want to setup java debugging for CRM 5.0 modified application. According to note 1154496 I created project "crm_b2b". I took file src.zip from server\usr\sap\<system name>\<instance>\j2ee\cluster\<server number>\apps\sap.com\crmb2b at first
-
Can't change duration in 10.2 anymore
After I made the update, I cannot change the duration of a clip anymore... I cannot type in another time code. And the shortcut ctrl+D doesn't work either. Thanks already for your help!
-
Cold and dead in the mountains
So i spent a lot of money on this imac 24" 2.93ghz. And it's not performing aswell as my 7year old powerbook!!! First of all i used migration assistant to import all my user files > about 50gb of songs, photos, movies etc. This ended up taking nearly
-
Font Hinting, Antialiasing, etc vs Desktop Environments
I wonder if any of the presets for font hinting, antialiasing and subpixel rendering apply to a desktop environment (like GNOME, KDE SC or Cinnamon). I've enabled all 3 of them and I just can't see a difference. The only one that seem to make a diffe
-
how can ichange display of items from 3x3 matrix to 2x2 matrix in Demo Online Store 1.0