How to view transaction logs in SQL Server 2008 [closed]

You could use the undocumented DBCC LOG(databasename, typeofoutput) where typeofoutput: 0: Return only the minimum of information for each operation — the operation, its context and the transaction ID. (Default) 1: As 0, but also retrieve any flags and the log record length. 2: As 1, but also retrieve the object name, index name, page … Read more

DBCC SHRINKFILE on log file not reducing size even after BACKUP LOG TO DISK

Okay, here is a solution to reduce the physical size of the transaction file, but without changing the recovery mode to simple. Within your database, locate the file_id of the log file using the following query. SELECT * FROM sys.database_files; In my instance, the log file is file_id 2. Now we want to locate the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)