sql server programming:
Dear all,
I'm struggling myself trying to obtain the total number of transactions
commited in a database in a specific period of time, for instance a month.
Using this query you obtain info based in .log file although dates not
appeared:
SELECT Operation, count(*) FROM ::fn_dblog(null,null)
where Operation in ('LOP_BEGIN_XACT', 'LOP_COMMIT_XACT')
group by Operation
Nevertheless when you do a shrink and one database which have simple
recovery model that information is lost so that it's no reliable at all.
We don't want use third-vendor tools.
Thanks for any input or thought,
Please post DDL, DCL and DML statements as well as any error message in
order to understand better your request. It''s hard to provide information
without seeing the code. location: Alicante (ES)