﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by M. Choirul Amri / Article Discussions / Article Discussions by Author  / SQL Server 2005 for SQL2k Developer (Part 1)? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 16:41:16 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>&lt;P&gt;Good intro. Thanks.  &lt;/P&gt;&lt;P&gt;I've got a question, though.  Given this statement from your article:&lt;/P&gt;&lt;P&gt;INSERT INTO SalesByPersonSELECT SalesPersonID, [2002],[2003],[2004] FROM Sales.SalesSummarryPIVOT(SUM(SubTotal) FOR OrderYear IN([2002],[2003],[2004])) as SalesPivot&lt;/P&gt;&lt;P&gt;is the IN (.....) required?  What if I don't know the values and/or the values change?  Am I stuck with dynamic SQL?  Could I maybe put a sub-query (i.e. select DISTINCT OrderYear) in there?&lt;/P&gt;</description><pubDate>Thu, 11 May 2006 14:53:00 GMT</pubDate><dc:creator>Pam Brisjar</dc:creator></item><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>Hi All,I'm working on second installment of this series now. Just wait &lt;img src='images/emotions/smile.gif' height='20' width='20' border='0' title='Smile' align='absmiddle'&gt;</description><pubDate>Fri, 31 Mar 2006 02:52:00 GMT</pubDate><dc:creator>Muhammad Choirul Amri</dc:creator></item><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>i look farward for more. thanks !</description><pubDate>Wed, 29 Mar 2006 23:28:00 GMT</pubDate><dc:creator>Sunil Lathar</dc:creator></item><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>Hi Paul,thanks for the correction of the typo.The query still works fine, but order year 2001 will be interpreted as 2002 &lt;img src='images/emotions/smile.gif' height='20' width='20' border='0' title='Smile' align='absmiddle'&gt;.It should be like this:SUM(CASE when OrderYear = 2002 then SubTotal ELSE 0 end) as '2002',</description><pubDate>Wed, 29 Mar 2006 22:31:00 GMT</pubDate><dc:creator>Muhammad Choirul Amri</dc:creator></item><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>&lt;P&gt;Thankyou I found your article very helpful and presented in a clear style. I look forward to reading more of your work&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Wed, 29 Mar 2006 14:02:00 GMT</pubDate><dc:creator>Jim Brady</dc:creator></item><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>Thanks for the examples.  In case anyone is working through them, the case statement has a typo with a '2002' replaced with a '2001'</description><pubDate>Wed, 29 Mar 2006 08:41:00 GMT</pubDate><dc:creator>Paul E</dc:creator></item><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>I look forward to more...thanks!</description><pubDate>Wed, 29 Mar 2006 08:12:00 GMT</pubDate><dc:creator>ed_elfrink</dc:creator></item><item><title>RE: SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>&lt;P&gt;Clean and clear demonstration of such a useful feature...&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description><pubDate>Wed, 29 Mar 2006 07:14:00 GMT</pubDate><dc:creator>Duray AKAR</dc:creator></item><item><title>SQL Server 2005 for SQL2k Developer (Part 1)?</title><link>http://www.sqlservercentral.com/Forums/Topic260419-288-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/mcAmri/sqlserver2005forsql2kdeveloperpart1.asp"&gt;http://www.sqlservercentral.com/columnists/mcAmri/sqlserver2005forsql2kdeveloperpart1.asp&lt;/A&gt;</description><pubDate>Tue, 21 Feb 2006 14:58:00 GMT</pubDate><dc:creator>Muhammad Choirul Amri</dc:creator></item></channel></rss>