<?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>My Technical Notes &#187; SQL server 2005</title>
	<atom:link href="http://hariprasad.info/tag/sql-server-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://hariprasad.info</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 11:14:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	
<!-- Excerpts generated using Auto Excerpt plugin, http://mr.hokya.com/auto-excerpt/ -->
	<item>
		<title>SQL &#8211; Handling Null Values</title>
		<link>http://hariprasad.info/sql-handling-null-values/</link>
		<comments>http://hariprasad.info/sql-handling-null-values/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 08:37:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL server]]></category>
		<category><![CDATA[SQL server 2005]]></category>

		<guid isPermaLink="false">http://hariprasad.info/sql-handling-null-values/</guid>
		<description><![CDATA[1. A NULL value represents an UNKNOWN value
2. Under ANSI_NULLS ON, two NULL values will never be equal to each other because the two separate values are unknown. With ANSI_NULLS OFF, two separate NULL values will evaluate to equal values.
IF OBJECT_ID('SalesHistory')&#62;0 DROP TABLE SalesHistory;GOCREATE TABLE [dbo].[SalesHistory]( [SaleID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY, [Product] [varchar](10) NULL, [S <a href='http://hariprasad.info/sql-handling-null-values/'>Read More&#8230;</a>]]></description>
			<content:encoded><![CDATA[1. A NULL value represents an UNKNOWN value
2. Under ANSI_NULLS ON, two NULL values will never be equal to each other because the two separate values are unknown. With ANSI_NULLS OFF, two separate NULL values will evaluate to equal values.
IF OBJECT_ID('SalesHistory')&gt;0 DROP TABLE SalesHistory;GOCREATE TABLE [dbo].[SalesHistory]( [SaleID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY, [Product] [varchar](10) NULL, [S <a href='http://hariprasad.info/sql-handling-null-values/'>Read More</a>]]></content:encoded>
			<wfw:commentRss>http://hariprasad.info/sql-handling-null-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	
<!-- Excerpts generated using Auto Excerpt plugin, http://mr.hokya.com/auto-excerpt/ -->
	<item>
		<title>Delete Duplicate Rows &#8211; SQL 2005</title>
		<link>http://hariprasad.info/delete-duplicate-rows-sql-2005/</link>
		<comments>http://hariprasad.info/delete-duplicate-rows-sql-2005/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 05:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL server]]></category>
		<category><![CDATA[common table expression]]></category>
		<category><![CDATA[delete duplicate rows]]></category>
		<category><![CDATA[SQL server 2005]]></category>

		<guid isPermaLink="false">http://hariprasad.info/?p=127</guid>
		<description><![CDATA[There are different methods to remove duplicates in SQL server 2005 where we do not have primary key defined for any table.
In the example I have table with field names FirstName and LastName.  To remove duplicates in any table, replace the field names with the actual names.
If we have more columns, then add those columns as well in the declaration part and in the select and where conditions in the query.
Method 1 <a href='http://hariprasad.info/delete-duplicate-rows-sql-2005/'>Read More&#8230;</a>]]></description>
			<content:encoded><![CDATA[There are different methods to remove duplicates in SQL server 2005 where we do not have primary key defined for any table.
In the example I have table with field names FirstName and LastName.  To remove duplicates in any table, replace the field names with the actual names.
If we have more columns, then add those columns as well in the declaration part and in the select and where conditions in the query.
Method 1 <a href='http://hariprasad.info/delete-duplicate-rows-sql-2005/'>Read More</a>]]></content:encoded>
			<wfw:commentRss>http://hariprasad.info/delete-duplicate-rows-sql-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	
<!-- Excerpts generated using Auto Excerpt plugin, http://mr.hokya.com/auto-excerpt/ -->
	<item>
		<title>SQL DB shrink</title>
		<link>http://hariprasad.info/sql-db-shrink/</link>
		<comments>http://hariprasad.info/sql-db-shrink/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 03:41:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL server]]></category>
		<category><![CDATA[shrink log]]></category>
		<category><![CDATA[SQL server 2005]]></category>

		<guid isPermaLink="false">http://hariprasad.info/?p=58</guid>
		<description><![CDATA[To shrink the DB Transaction Log file,USE DatabaseNameGODBCC SHRINKFILE(&#60;log file name&#62;, 1)
To find out the Log file details:USE DATABASENAMEexec sp_helpfile
 <a href='http://hariprasad.info/sql-db-shrink/'>Read More&#8230;</a>]]></description>
			<content:encoded><![CDATA[To shrink the DB Transaction Log file,USE DatabaseNameGODBCC SHRINKFILE(&lt;log file name&gt;, 1)
To find out the Log file details:USE DATABASENAMEexec sp_helpfile
 <a href='http://hariprasad.info/sql-db-shrink/'>Read More</a>]]></content:encoded>
			<wfw:commentRss>http://hariprasad.info/sql-db-shrink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

