<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0"><channel><title>SQL Server Tips &amp; Tricks</title><link>http://sequelserver.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SqlServer2000" /><description>Free SQL Server Articles and Scripts. 
*New: Learn sql server 2005 Series</description><language>en</language><managingEditor>noreply@blogger.com (Aneesh)</managingEditor><lastBuildDate>Tue, 01 May 2012 09:00:17 PDT</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">206</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="sqlserver2000" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle>Free SQL Server Articles and Scripts. *New: Learn sql server 2005 Series</itunes:subtitle><itunes:summary>Free SQL Server Articles and Scripts. *New: Learn sql server 2005 Series</itunes:summary><image><link>http://creativecommons.org/licenses/by/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">SqlServer2000</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Free SQL Server command line tool "SQLS*Plus"</title><link>http://sequelserver.blogspot.com/2012/04/free-sql-server-command-line-tool.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Thu, 12 Apr 2012 14:04:11 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-4661558503872656973</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>There is a free SQL Server command line tool "SQLS*Plus" (on http://www.memfix.com ) - exactly like SQL*Plus for SQL Server.     It is very flexible with data formatting (set lines size, pagesize,...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=NirXmeqgCSw:eySy7FDpnuA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Moving the system database "tempdb"</title><link>http://sequelserver.blogspot.com/2012/04/moving-system-database.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Thu, 12 Apr 2012 13:52:23 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-1908167651928156286</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>If the system database "tempdb" is defined on several data files as recommended in general, each data file is moved by a ALTER DATABASE statement.  USE master;GOALTER DATABASE tempdb MODIFY FILE...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=pNFDI5uW8LM:E8H0E7qldFg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Modify SQL Agent Errorlog path and Default Database Path</title><link>http://sequelserver.blogspot.com/2012/04/modify-sql-agent-errorlog-path-and.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Thu, 12 Apr 2012 13:47:05 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-5890636440152957481</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>If you are moving databases to a new drive/volume or another server (different drive letter), you will find it useful to also change the SQL Server Agent log path as well as the Database Default...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=gEAzbVsYt34:rcXYdTi-3h8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>TSQL Script to return files and Free Space</title><link>http://sequelserver.blogspot.com/2012/04/tsql-script-to-return-files-and-free.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Thu, 12 Apr 2012 11:16:40 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-5965832660470819610</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Here is the script      ;WITH c AS (SELECT  g.name AS [FileGroupName]       ,s.type_desc       ,s.physical_name AS [FileName]       ,s.size * CONVERT(FLOAT, 8) AS [Size]       ,CAST(CASE s.type      ...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=GXqhnNkWh8s:4z9cztImSjA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>How to disable constraints on a table</title><link>http://sequelserver.blogspot.com/2012/03/how-to-disable-constraints-on-table.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 20 Mar 2012 08:48:33 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-853515579879855533</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Sometimes it's useful to disable one or more constraints on a table, do something significant like a BULK INSERT / DELETE, and then re-enable the constraint(s) once you're done.   You can disable /...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=FrnX-m-hjrk:_HYA0VbRX1w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Script to find the size of an Index</title><link>http://sequelserver.blogspot.com/2012/03/script-to-find-size-of-index.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Wed, 14 Mar 2012 16:04:22 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-8863955877472950116</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Simple query to find the size of  the indexes      SELECT	OBJECT_NAME(i.OBJECT_ID) AS TableName,	i.name AS IndexName,	i.index_id AS IndexID,	8 * SUM(a.used_pages)/1024 AS 'IndexSize in KB'FROM...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=MfQA38wvvBI:1K_C9TjXHs4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>SQL Server 2012 Virtual launch event</title><link>http://sequelserver.blogspot.com/2012/03/sql-server-2012-virtual-launch-event.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 06 Mar 2012 13:47:05 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-8266114265508822286</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Finally.. the most anticipated version of sql server is ready for launch. Just few more hours..want to register for the virtual launch, click the below link.  there will lot of sessions, including...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=qOakcFpzrF4:2RRqvcMtiFg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>SQL Server Migration Checklist</title><link>http://sequelserver.blogspot.com/2011/07/sql-server-migration-checklist.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-934044310182839497</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><description>Here is a quick checklist for your SQL Server Migration.  1. Build your New Server, Install SQL Server and required updates and keep the server ready for migration  2. Stop Application Service(s) and...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=eV-1LhLTGIs:41Z9beTSs18:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>DBCC REINDEX vs DBCC INDEXDEFRAG</title><link>http://sequelserver.blogspot.com/2011/06/dbcc-reindex-vs-dbcc-indexdefrag.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-7136077458722949836</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Note that DBCC DBREINDEX uses one big transaction, killing the operation in the middle would rollback the entire transaction.  It would not help you reduce log space consumption if you restart the...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=mh9VealKM8c:VyDkGZSp9sw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Lists user login attempts to a SQL Server (failed and successful login attempts)</title><link>http://sequelserver.blogspot.com/2011/06/lists-user-login-attempts-to-sql-server.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-6675589652380113682</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>This script is useful for security audits (helping you gather information about failed login attempts), and for checking recent activity by a particular login (before you delete a login, for...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=Oqy4WHhb1B8:7_fkZ-k-bBA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Script to Generate BCP out and Bulk insert statements</title><link>http://sequelserver.blogspot.com/2011/06/script-to-generate-bcp-out-and-bulk.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-4458395973646990721</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>This will be useful while migrating the data from one server to another     SET NOCOUNT ONGOSELECT @@SERVERNAMEDECLARE @path nvarchar(2000), @batchsize nvarchar(40),         @format nvarchar(40),...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=YgwCiQUae4c:V9fGexUzR6Y:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Query to return fragmentation information on partitioned indexes</title><link>http://sequelserver.blogspot.com/2011/06/query-to-return-fragmentation.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-7336967803425811281</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>This will very useful, if you have implemented the partitioning functionality .     SELECT  OBJECT_NAME(a.object_id) AS object_name       ,a.index_id       ,b.name       ,b.type_desc      ...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=BSdN1tDU14o:ppNYXgjnoDM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Minimally Logged Inserts in sql server 2008</title><link>http://sequelserver.blogspot.com/2011/05/minimally-logged-inserts-in-sql-server.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-3657988964817793995</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>This is another great feature that was introduced in sql server 2008. This is one of the enhanced features of ‘SELECT INTO ‘ statements. All you need to do is to make sure that the following...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=swS0CQHpjkY:u5sZQv8BZ6U:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Parameter Sniffing</title><link>http://sequelserver.blogspot.com/2011/05/parameter-sniffing.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-2930767779504646751</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>When a stored procedure is first executed SQL Server looks at the input parameters and uses this as guidance to build the query plan. This is known as "parameter sniffing". This is good as long as...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=wO8yCFGogg4:wL7yR6qEh-8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>find the tables having composite clustered index</title><link>http://sequelserver.blogspot.com/2011/05/find-tables-having-composite-clustered.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-9196819298405912815</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>script to find the tables having composite clustered index  ;WITH cte AS (SELECT   OBJECT_NAME(i.object_id) NAME, type_desc, i.index_id ,c.name columnName ,p.rows FROM sys.indexes i INNER JOIN...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=wu1fCKFt3QQ:ChDEUTr-apI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Historic information – sql backups</title><link>http://sequelserver.blogspot.com/2011/05/historic-information-sql-backups.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-8433537222971502460</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Need to find out the historic information of backups , try this script      SELECT     CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server,    msdb.dbo.backupset.database_name,    ...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=um6h1CDCkeo:9gL36QFO_3U:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Suggested Max Memory Settings for SQL Server 2005/2008</title><link>http://sequelserver.blogspot.com/2011/04/suggested-max-memory-settings-for-sql.html</link><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-8914700270809109152</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>It is important to make sure you set the Max server memory setting for SQL Server 2005/2008 to something besides the default setting (which allows SQL Server to use as much memory as it wants,...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=Vu_0z5DrlaU:w0KT4e0Mo_8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Use sys.dm_os_performance_counters to get your Buffer cache hit ratio and Page life expectancy counters</title><link>http://sequelserver.blogspot.com/2011/04/use-sysdmosperformancecounters-to-get.html</link><category>Scripts</category><category>sql server 2008</category><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-6383481206053407857</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Buffer cache hit ratio  This means what is the percentage that SQL Server had the data in cache and did not have to read the data from disk. Ideally you want this number to be as close to 100 as...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=ZvnKC3LR-Fw:cyOpg8evwNw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>script – percentage of identity values being used</title><link>http://sequelserver.blogspot.com/2011/04/script-percentage-of-identity-values.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-5039850456464236486</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Here is a script which list out all the identity columns and percentage used      SET NOCOUNT ONSELECT	SCHEMA_NAME(t.schema_id) + '.' +  t.name AS TableName, idc.name AS ColumnName,CASE...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=h4nXymYERZg:mGyYizoMDZQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Index Fragmentation on Partitioned tables</title><link>http://sequelserver.blogspot.com/2011/04/index-fragmentation-on-partitioned.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-441105688087970805</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Partitioning can be effectively used to break up a very large table into multiple partitions based on a column or partitioning key. However, there can be significant management overhead in...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=Rqrd1R6Q43I:Lldd_H2KWMM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Find the Size of Database</title><link>http://sequelserver.blogspot.com/2011/04/find-size-of-database.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-5156291963188313984</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>I encountered the situation recently where I needed to find the size of the database.  --size of database SELECT DB_NAME(database_id) AS DatabaseName,SUM((size*8)/1024) SizeInMBFROM...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=5V-ingXG4tM:DzZFxeR6z64:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Best practices for Indexing</title><link>http://sequelserver.blogspot.com/2011/03/best-practices-for-indexing.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-3211981873591353937</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Create index on columns that are frequently used for data retrieval or in filter conditions. For example in SELECT statement and WHERE clause or in ORDER BY, GROUP BY, and DISTINCT clauses. As in our...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=4yCaY-05H5I:Q8wvZ5ezPFM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>How to run a stored procedure at SQL Server start-up</title><link>http://sequelserver.blogspot.com/2011/02/how-to-run-stored-procedure-at-sql.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-5263760368610147436</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>This is actually quite simple. There is 'startup' option that you can set to the procedure.  There are a few limitations though:   - sp must reside in the [master] database    - it's owner must be...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=KV-ttlrnGM4:h634AlhDr28:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>alternate to IF EXISTS ..UPDATE ELSE ..INSERT</title><link>http://sequelserver.blogspot.com/2011/02/alternate-to-if-exists-update-else.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-6994982582490938438</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>On some occasions we need to update an entry in a table in case there is an entry otherwise we need to insert that data into the table. The easiest way to do this is something like this   IF EXISTS (...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=4ILnkesywDo:ZBUbP-X0P7A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><item><title>Script to Check and Fix Orphan Users</title><link>http://sequelserver.blogspot.com/2011/02/script-to-check-and-fix-orphan-users.html</link><author>noreply@blogger.com (Aneesh)</author><pubDate>Tue, 19 Jul 2011 19:15:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-10550791.post-9043469578971117605</guid><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>      -- Script to check the orphan userEXEC sp_change_users_login 'Report'--Use below code to fix the Orphan User issueDECLARE @username varchar(25)DECLARE fixusers CURSOR FORSELECT UserName = name...&lt;br/&gt;
&lt;br/&gt;
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServer2000?a=x71UWO-BvqY:H_neSO0cilc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServer2000?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license></item><media:rating>nonadult</media:rating><item><title>Wien [Webshots]</title><link>http://good-times.webshots.com/album/563926801qKuhta</link><category>Photos</category><pubDate>Fri, 27 Jun 2008 07:48:31 PDT</pubDate><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[	
		             item.getContent()   
		            ]]></content:encoded><description>&lt;a href="http://good-times.webshots.com/album/563926801qKuhta"&gt;&lt;img src="http://videothumb37.webshots.com/thumb/25516/3097887030093185927rbcpMpth_002_0.jpg" width="100" height="74" border="0" alt="P1040129.MOVby aneeshattingal"&gt;&lt;/a&gt;&amp;nbsp;
&lt;a href="http://good-times.webshots.com/album/563926801qKuhta"&gt;&lt;img src="http://videothumb22.webshots.com/thumb/25181/3088104140093185927pNrdvzth_002_0.jpg" width="100" height="74" border="0" alt="P1040131.MOVby aneeshattingal"&gt;&lt;/a&gt;&amp;nbsp;
&lt;a href="http://good-times.webshots.com/album/563926801qKuhta"&gt;&lt;img src="http://videothumb31.webshots.com/thumb/22390/3095496890093185927yLQjbrth_002_0.jpg" width="100" height="74" border="0" alt="P1040133.MOVby aneeshattingal"&gt;&lt;/a&gt;&amp;nbsp;
&lt;p&gt;my Wien trip&lt;/p&gt;
&lt;p&gt; by aneeshattingal&lt;br&gt;&lt;a href="http://good-times.webshots.com/album/563926801qKuhta"&gt;see more photos from this album (156) ...&lt;/a&gt;&lt;/p&gt;</description><enclosure url="http://videothumb37.webshots.com/thumb/25516/3097887030093185927rbcpMpth_002_0.jpg" length="0" type="image/jpeg" /></item></channel></rss>

