SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Monitoring File Sizes in SQL Server Part 3


Monitoring File Sizes in SQL Server Part 3

Author
Message
rscarlson
rscarlson
SSC Veteran
SSC Veteran (268 reputation)SSC Veteran (268 reputation)SSC Veteran (268 reputation)SSC Veteran (268 reputation)SSC Veteran (268 reputation)SSC Veteran (268 reputation)SSC Veteran (268 reputation)SSC Veteran (268 reputation)

Group: General Forum Members
Points: 268 Visits: 6
Comments posted here are about the content posted at temp



Muralidharan Venkatraman
Muralidharan Venkatraman
Valued Member
Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)

Group: General Forum Members
Points: 56 Visits: 1

Thanks. That's a great script which is very useful.

The good side of this script is you can monitor individual db.

The downside is the drive and path is hardcoded and if we move the datafiles to a different drive / change path, the script would fail.

Otherwise, this is a really useful utility.

Great job.

Thanks

Murali


Alastair Stuart
Alastair Stuart
SSC Rookie
SSC Rookie (37 reputation)SSC Rookie (37 reputation)SSC Rookie (37 reputation)SSC Rookie (37 reputation)SSC Rookie (37 reputation)SSC Rookie (37 reputation)SSC Rookie (37 reputation)SSC Rookie (37 reputation)

Group: General Forum Members
Points: 37 Visits: 2

Bloody Brilliant!. I'm not into scripting but the last three days have shown me its value.

This is really useful.

Thanks


Brian Pastre
Brian Pastre
Valued Member
Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)

Group: General Forum Members
Points: 55 Visits: 43
I have tried this script on several different servers and computers and keep receiving the following error:

Line: 86
Char: 1
Error: Unknown Runtime Error
Code: 800A03EC

Line 86 executes the following:

oExcel.Range(strNewCell).Activate

I am curious to see how this report runs.

Thanks,
Brian
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search