Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to find size of .ldf file from SQL 2008.

I have used below queries -

SQL
SELECT size*8192
FROM sysfiles

-- and -- 

select * from sysfiles



But, I am not get clarity regarding size returned by query.
Even, its not closer to the size I am getting from filesystem.

Thanks,

Neal.
Posted
Updated 26-May-10 0:59am
v2

1 solution

 
Share this answer
 
Comments
neal123 26-May-10 7:27am    
Yes, its gr8. SP I found... Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900