How do I get the current size of the transaction log? How do I get the size limit?
I'd like to monitor this so I can determine how often I need to backup the transaction log.
I usually have a problem with the transaction log when I perform large operations.
Based on SQL Server 2005, try this
Change YourDB to your database name
For an overall of all database sizes try DBCC SQLPERF
This should work in SQL 2000/2005/2008