<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SYS2 Scripts Updated – Scripts to monitor database backup, database space usage and memory grants now available</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/02/13/sys2-scripts-updated-scripts-to-monitor-database-backup-database-space-usage-and-memory-grants-now-available.aspx</link><description>I’ve just released three new scripts of my “sys2” script collection that can be found on CodePlex: Project Page: http://sys2dmvs.codeplex.com/ Source Code Download: http://sys2dmvs.codeplex.com/SourceControl/changeset/view/57732 The three new scripts</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: SYS2 Scripts Updated – Scripts to monitor database backup, database space usage and memory grants now available</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/02/13/sys2-scripts-updated-scripts-to-monitor-database-backup-database-space-usage-and-memory-grants-now-available.aspx#33515</link><pubDate>Tue, 15 Feb 2011 18:54:44 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:33515</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;I'm getting an error on the db_id() parens when I try to compile the operational stats function in SS2008 R2. &amp;nbsp;It complains about the left parens. &amp;nbsp;any idea?&lt;/p&gt;
</description></item><item><title>re: SYS2 Scripts Updated – Scripts to monitor database backup, database space usage and memory grants now available</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/02/13/sys2-scripts-updated-scripts-to-monitor-database-backup-database-space-usage-and-memory-grants-now-available.aspx#33519</link><pubDate>Tue, 15 Feb 2011 20:52:33 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:33519</guid><dc:creator>Davide Mauri</dc:creator><description>&lt;p&gt;Hi Jim&lt;/p&gt;
&lt;p&gt;I've just tested it on SQL Server 2008 R2 and it work perfectly. I just did a copy and paste of sys2.indexes_operational_stats.sql from CodePlex to SSMS and I had no problem...&lt;/p&gt;
&lt;p&gt;If you execute the following query, do you still get an error?&lt;/p&gt;
&lt;p&gt;select * from sys.dm_db_index_operational_stats(db_id(), null, NULL, NULL)&lt;/p&gt;
&lt;p&gt;In my case it also works perfectly.&lt;/p&gt;
</description></item></channel></rss>