<?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>SQL Server Planet &#187; Derek Dieter</title> <atom:link href="http://sqlserverplanet.com/author/admin/feed/" rel="self" type="application/rss+xml" /><link>http://sqlserverplanet.com</link> <description>Tips and Articles on SQL Server</description> <lastBuildDate>Wed, 07 Jul 2010 05:16:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>Select Distinct</title><link>http://sqlserverplanet.com/tsql/select-distinct-2/</link> <comments>http://sqlserverplanet.com/tsql/select-distinct-2/#comments</comments> <pubDate>Wed, 07 Jul 2010 05:16:42 +0000</pubDate> <dc:creator>Derek Dieter</dc:creator> <category><![CDATA[TSQL]]></category><guid isPermaLink="false">http://sqlserverplanet.com/?p=1618</guid> <description><![CDATA[Select Distinct a way to tell SQL Server to not return duplicate rows. Adding the distinct keyword makes it an expensive query because it essentially performs a group by for all of the returned columns. That being the case, it should only optimally be used on queries that return a small number of rows, or [...]]]></description> <wfw:commentRss>http://sqlserverplanet.com/tsql/select-distinct-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SPID &#8211; What is it?</title><link>http://sqlserverplanet.com/dba/spid-what-is-it/</link> <comments>http://sqlserverplanet.com/dba/spid-what-is-it/#comments</comments> <pubDate>Sun, 04 Jul 2010 17:11:32 +0000</pubDate> <dc:creator>Derek Dieter</dc:creator> <category><![CDATA[DBA]]></category><guid isPermaLink="false">http://sqlserverplanet.com/?p=1609</guid> <description><![CDATA[A SPID in SQL Server is a Server Process ID. These process ID&#8217;s are essentially sessions in SQL Server. Everytime an application connects to SQL Server, a new connection (or SPID) is created. This connection has a defined scope and memory space and cannot interact with other SPIDs. The term SPID is synonymous with Connection, [...]]]></description> <wfw:commentRss>http://sqlserverplanet.com/dba/spid-what-is-it/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Trunc Date in SQL Server</title><link>http://sqlserverplanet.com/oracleequivalents/trunc-date-sql-server/</link> <comments>http://sqlserverplanet.com/oracleequivalents/trunc-date-sql-server/#comments</comments> <pubDate>Sun, 04 Jul 2010 16:14:19 +0000</pubDate> <dc:creator>Derek Dieter</dc:creator> <category><![CDATA[OracleEquivalents]]></category><guid isPermaLink="false">http://sqlserverplanet.com/?p=1606</guid> <description><![CDATA[In Oracle there is a function (trunc) used to remove the time portion of a date. In order to do this with SQL Server, you need to use the convert function. Convert takes 3 parameters, the datatype to convert to, the value to convert, and an optional parameter for the formatting style. It is this [...]]]></description> <wfw:commentRss>http://sqlserverplanet.com/oracleequivalents/trunc-date-sql-server/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Drop Temp Table If Exists</title><link>http://sqlserverplanet.com/tsql/drop-temp-table-if-exists/</link> <comments>http://sqlserverplanet.com/tsql/drop-temp-table-if-exists/#comments</comments> <pubDate>Sun, 04 Jul 2010 03:07:07 +0000</pubDate> <dc:creator>Derek Dieter</dc:creator> <category><![CDATA[TSQL]]></category><guid isPermaLink="false">http://sqlserverplanet.com/?p=1602</guid> <description><![CDATA[If you&#8217;re here then you&#8217;ve probably run into the situation where you&#8217;ve automatically created a temp table in your script, and every time you execute the script you have to drop the temp table manually. Yes, this can be a pain. I&#8217;ve done this myself many times. So here&#8217;s the easy solution. We need to [...]]]></description> <wfw:commentRss>http://sqlserverplanet.com/tsql/drop-temp-table-if-exists/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Insert From Select</title><link>http://sqlserverplanet.com/tsql/insert-from-one-table-to-another/</link> <comments>http://sqlserverplanet.com/tsql/insert-from-one-table-to-another/#comments</comments> <pubDate>Sun, 04 Jul 2010 01:45:55 +0000</pubDate> <dc:creator>Derek Dieter</dc:creator> <category><![CDATA[TSQL]]></category><guid isPermaLink="false">http://sqlserverplanet.com/?p=1598</guid> <description><![CDATA[The method of inserting records from one table to another differs depending on whether or not the target table already exists. Neither method is difficult, however one method requires more coding. Insert where target table does not exist If it does not, then you are in luck, there is a method that could not be [...]]]></description> <wfw:commentRss>http://sqlserverplanet.com/tsql/insert-from-one-table-to-another/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 105/113 queries in 0.136 seconds using disk
Content Delivery Network via files.sqlserverplanet.com

Served from: sqlserverplanet.com @ 2010-07-31 09:07:40 -->