In my previous question, I asked about how to know about what happened in my SQL-Server 2019 database. After a while, I found out that there is some kind of table, called fn_dblog, which gives some interesting information, but I still have some questions (literally copied from that previous question):
SELECT Top 10 [Begin Time] [End Time]
FROM fn_dblog(null,null)
WHERE UPPER(AllocUnitName) LIKE '%TABLENAME_STATUS%'
... where [Begin Time] and [End Time] are proposed by my Microsoft SQL Server Management Studio. To my surprise, the results look like:
Title: End Time
NULL
...
NULL
Now I have the following questions:
- What happened with the
[Begin Time]column? - Why is
[End Time]not filled in? - When I copy a normal SQL query result into clipboard, the column names are copied too, but when I copy the results of an SQL query concerning
fn_dblog, the column names are not present in the clipboard. Why is that and how can I change that?
Next to that, I also found another "table", called fn_full_dblog, but that's even worse:
SELECT Top 10 *
FROM sys.fn_full_dblog(null,null, null, null, null, null,
null, null, null, null,null)
WHERE UPPER(AllocUnitName) LIKE '%TABLENAME_STATUS%'
=> no result at all!
Can somebody give me some information on how to read fn_dblog and possibly fn_full_dblog or any other "table", which might use interesting information?
Thanks in advance