블로그 이미지
010-9967-0955 보미아빠

카테고리

보미아빠, 석이 (500)
밥벌이 (16)
싸이클 (1)
일상 (1)
Total
Today
Yesterday

달력

« » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

공지사항

최근에 올라온 글

 

 

 

select who.[Current LSN], sl.name, cast(who.[Begin Time] as datetime) [Begin Time], what.Operation
  , what.[RowLog Contents 0]
  , what.[RowLog Contents 1]
  , what.*
  from fn_dblog (NULL, NULL) who
  join fn_dblog (NULL, NULL) what
    on left (who.[Current LSN], 17) = left (what.[Current LSN], 17)
  join sys.syslogins sl
    on who.[Transaction SID] = sl.sid
 where who.Operation = 'LOP_BEGIN_XACT'
   and what.PartitionId = (select partition_id from sys.partitions where object_id = object_id('student'))
   and what.[Context] IN ('LCX_HEAP','LCX_CLUSTERED')
   and cast(who.[Begin Time] as datetime) between '20000101' and '20200101'

 

 

http://www.sqlservercentral.com/articles/Transaction+Logs/71415/

http://raresql.com/2012/02/01/how-to-recover-modified-records-from-sql-server-part-1/

http://raresql.com/2012/02/01/how-to-recover-modified-records-from-sql-server-part-2/

 

Posted by 보미아빠
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함