<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vidhya Sagar - Blog&#187; Scripts</title>
	<atom:link href="http://sql-articles.com/blogs/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://sql-articles.com/blogs</link>
	<description>One Stop for SQL Server related Queries</description>
	<lastBuildDate>Thu, 12 Aug 2010 17:53:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Capture SQL Performance Counters through TSQL</title>
		<link>http://sql-articles.com/blogs/capture-sql-performance-counters-through-tsql/</link>
		<comments>http://sql-articles.com/blogs/capture-sql-performance-counters-through-tsql/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 19:51:31 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[performance counters]]></category>
		<category><![CDATA[sys.dm_os_performance_counters]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/capture-sql-performance-counters-through-tsql/</guid>
		<description><![CDATA[Capture SQL Performance Counters through TSQL]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/capture-sql-performance-counters-through-tsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change \ Transfer Schema for all Objects</title>
		<link>http://sql-articles.com/blogs/change-transfer-schema-for-all-objects/</link>
		<comments>http://sql-articles.com/blogs/change-transfer-schema-for-all-objects/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 15:00:55 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/change-transfer-schema-for-all-objects/</guid>
		<description><![CDATA[In my working environment we will be using different schema for production and development environments. Our development apps are configured to Dev schema and Production apps are configured to Prod schema, so when we restore the db from production to development environment, all our dev apps stopped working since the objects \ securable will be [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/change-transfer-schema-for-all-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to Retrieve Security Information &#8211; SQL Server 2005 and above</title>
		<link>http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2005-and-above/</link>
		<comments>http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2005-and-above/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 13:57:20 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[permission script]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2005-and-above/</guid>
		<description><![CDATA[In my working environment I’ve asked to write a script to find security information which should return Server Logins, Database Logins and object level permissions. I’ve written that and I’m sharing this to you since this could be helpful to you. Works With SQL Server 2005 SQL Server 2008 and SQL Server 2008 R2 Script [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2005-and-above/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Script to Retrieve Security Information &#8211; SQL Server 2000</title>
		<link>http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2000/</link>
		<comments>http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2000/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 13:50:48 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[permission script]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2000/</guid>
		<description><![CDATA[In my working environment I’ve asked to write a script to find security information which should return Server Logins, Database Logins and object level permissions. I’ve written that and I’m sharing this to you since this could be helpful to you. Works With SQL Server 2000 Script to find server level logins and role assigned [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/script-to-retrieve-security-information-sql-server-2000/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Script to find SQL Job activity details</title>
		<link>http://sql-articles.com/blogs/script-to-find-sql-job-activity-details/</link>
		<comments>http://sql-articles.com/blogs/script-to-find-sql-job-activity-details/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 02:11:08 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/script-to-find-sql-job-activity-details/</guid>
		<description><![CDATA[I’ve written a script to find the job activity details, this script will give the output similar to job activity monitor in SQL2K5 or SQL2K8. In my working place we had a request to collect the job details from all the servers which includes all version of SQL Server. I’ve tried sp_help_jobactivity for SQL2K5 \ [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/script-to-find-sql-job-activity-details/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Script to get row count for all the tables in all the databases</title>
		<link>http://sql-articles.com/blogs/script-to-get-row-count-for-all-the-tables-in-all-the-databases/</link>
		<comments>http://sql-articles.com/blogs/script-to-get-row-count-for-all-the-tables-in-all-the-databases/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 15:58:00 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/script-to-get-row-count-for-all-the-tables-in-all-the-databases/</guid>
		<description><![CDATA[I've written this script&#160; to get details of row count in all the tables in all the database including the system database. You can modify the script&#160; to exclude system database if you&#160; don't need details for that. You can see that I haven't use COUNT() function to get these values, If I run using [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/script-to-get-row-count-for-all-the-tables-in-all-the-databases/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Startup procedure to check SQL Server status when restarted</title>
		<link>http://sql-articles.com/blogs/startup-procedure-to-check-sql-server-status-when-restarted/</link>
		<comments>http://sql-articles.com/blogs/startup-procedure-to-check-sql-server-status-when-restarted/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 05:02:49 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/startup-procedure-to-check-sql-server-status-when-restarted/</guid>
		<description><![CDATA[I’ve written a startup procedure to check SQL Server status when the SQL Server gets restarted. Most of the time as a DBA when a Server gets rebooted or SQL Services is restarted we need to make sure everything is fine in SQL server to make sure SQL server is running healthy. Some companies will [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/startup-procedure-to-check-sql-server-status-when-restarted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trigger to Check Job failures &#8211; SQL 2000</title>
		<link>http://sql-articles.com/blogs/trigger-to-check-job-failures-sql-2000/</link>
		<comments>http://sql-articles.com/blogs/trigger-to-check-job-failures-sql-2000/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 14:45:23 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/trigger-to-check-job-failures-sql-2000/</guid>
		<description><![CDATA[I was trying to find a alert which could fire immediately upon any of the job failure in the server to send an email. Unfortunately I couldn’t find any the alert related to this. So I thought of writing a DML trigger which should fire immediately when an entry is inserted in sysjobhistory table on [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/trigger-to-check-job-failures-sql-2000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disk space (including mounted drive) Check via SQL Server</title>
		<link>http://sql-articles.com/blogs/disk-space-including-mounted-drive-check-via-sql-server/</link>
		<comments>http://sql-articles.com/blogs/disk-space-including-mounted-drive-check-via-sql-server/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 02:20:32 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Diskspace]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/?p=356</guid>
		<description><![CDATA[In my previous article on "Diskspace Check via SQLServer" will find only physical \ logical drives that is attached to the system i.e the drive which you see under my computer. I've used this script in one of my client machine and found that this script is not capable to check disk space for mounted [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/disk-space-including-mounted-drive-check-via-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to CHECK Startup procedures in SQL Server</title>
		<link>http://sql-articles.com/blogs/script-to-check-startup-procedures-in-sql-server/</link>
		<comments>http://sql-articles.com/blogs/script-to-check-startup-procedures-in-sql-server/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 05:14:15 +0000</pubDate>
		<dc:creator>Vidhya Sagar</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://sql-articles.com/blogs/?p=118</guid>
		<description><![CDATA[Today while checking a server for SQL Server startup performance issue, I'm in thought of listing the startup procedures and to analyze those procedures for any issues. But when I google I couldn't find any script to list out the startup procedures, hence I've written a script to list the startup procedures. I'm sharing the same [...]]]></description>
		<wfw:commentRss>http://sql-articles.com/blogs/script-to-check-startup-procedures-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
