﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / T-SQL (SS2K8)  / need script / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 16:14:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: need script</title><link>http://www.sqlservercentral.com/Forums/Topic1385256-392-1.aspx</link><description>[quote][b]Ray M (11/15/2012)[/b][hr]Wouldnt the size of the database be the MDF size + the LDF size?No one minds helping, but if you want us to do your job for you, I'm sure someone is available for hire.[/quote]+1I'm available.</description><pubDate>Thu, 15 Nov 2012 20:42:36 GMT</pubDate><dc:creator>dwain.c</dc:creator></item><item><title>RE: need script</title><link>http://www.sqlservercentral.com/Forums/Topic1385256-392-1.aspx</link><description>Wouldnt the size of the database be the MDF size + the LDF size?No one minds helping, but if you want us to do your job for you, I'm sure someone is available for hire.</description><pubDate>Thu, 15 Nov 2012 13:26:44 GMT</pubDate><dc:creator>Ray M</dc:creator></item><item><title>RE: need script</title><link>http://www.sqlservercentral.com/Forums/Topic1385256-392-1.aspx</link><description>Hi thanks for your reply..but i m getting database name   mdfsize   ldf size but i need [b]current size of the database [/b]also could you please help me on this.</description><pubDate>Thu, 15 Nov 2012 10:08:16 GMT</pubDate><dc:creator>shiv-356842</dc:creator></item><item><title>RE: need script</title><link>http://www.sqlservercentral.com/Forums/Topic1385256-392-1.aspx</link><description>Something like this?[code="sql"]SELECT DB_NAME(database_id) AS DatabaseName,       SUM(CASE WHEN type=0 THEN size ELSE 0 END) AS MdfSize,       SUM(CASE WHEN type=1 THEN size ELSE 0 END) AS LdfSizeFROM sys.master_filesGROUP BY database_id[/code]</description><pubDate>Thu, 15 Nov 2012 10:03:04 GMT</pubDate><dc:creator>Mark-101232</dc:creator></item><item><title>need script</title><link>http://www.sqlservercentral.com/Forums/Topic1385256-392-1.aspx</link><description>Hi Team,I m looking out put like below Database Name    Mdf file size   Ldf File size   current size of the database requesting to you guys please help me with exact script its really helpful to me. Thanks in advance..</description><pubDate>Thu, 15 Nov 2012 09:51:38 GMT</pubDate><dc:creator>shiv-356842</dc:creator></item></channel></rss>