{"id":2952,"date":"2013-12-13T05:42:54","date_gmt":"2013-12-13T05:42:54","guid":{"rendered":"http:\/\/enjoyasp.net\/?p=2952"},"modified":"2013-12-14T01:29:40","modified_gmt":"2013-12-14T01:29:40","slug":"%e6%9f%a5%e8%af%a2%e8%b0%81%e5%88%a0%e9%99%a4%e4%ba%86%e8%a1%a8%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/enjoyasp.net\/index.php\/2013\/12\/13\/%e6%9f%a5%e8%af%a2%e8%b0%81%e5%88%a0%e9%99%a4%e4%ba%86%e8%a1%a8%e6%95%b0%e6%8d%ae\/","title":{"rendered":"\u67e5\u8be2\u8c01\u5220\u9664\u4e86\u8868\u6570\u636e"},"content":{"rendered":"<div>\n<div>\n\t\tSELECT &nbsp;AllocUnitName,<\/div>\n<div>\n\t\t[Transaction SID], SUSER_NAME([Transaction SID]) Who,<\/div>\n<div>\n\t\tOperation,[Transaction Id],[Transaction SID],<\/div>\n<div>\n\t\t[Transaction Name],[Begin Time],[End Time],[SPID],Description<\/div>\n<div>\n\t\tFROM fn_dblog(NULL, NULL)&nbsp;<\/div>\n<div>\n\t\tWHERE Operation = &#39;LOP_DELETE_ROWS&#39;<\/div>\n<div>\n\t\tAND AllocUnitName NOT LIKE &#39;sys.%&#39; AND AllocUnitName NOT LIKE &#39;Unknown Alloc Unit%&#39;<\/div>\n<div>\n\t\t&nbsp;<\/div>\n<\/div>\n<div>\n\t<br \/>\n\t\u6765\u81ea\uff1a<a href=\"http:\/\/www.mssqltips.com\/sqlservertip\/3090\/how-to-find-user-who-ran-drop-or-delete-statements-on-your-sql-server-objects\/\">How to find user who ran DROP or DELETE statements on your SQL Server Objects<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>SELECT &nbsp;AllocUnitName, [Transaction SID], SUSER_NA [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2952","post","type-post","status-publish","format-standard","hentry","category-sql-server"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/comments?post=2952"}],"version-history":[{"count":0,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2952\/revisions"}],"wp:attachment":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/media?parent=2952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/categories?post=2952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/tags?post=2952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}