<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Coeamyd's - SQL Server</title>
    <link>http://www.coeamyd.net/</link>
    <description>...It ain't easy being green</description>
    <language>en-us</language>
    <copyright>Christoph Herold</copyright>
    <lastBuildDate>Thu, 16 Jul 2009 11:04:26 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>Christoph.Herold@coeamyd.net</managingEditor>
    <webMaster>Christoph.Herold@coeamyd.net</webMaster>
    <item>
      <trackback:ping>http://www.coeamyd.net/Trackback.aspx?guid=c915d182-ecff-4e37-b22d-70185058e97f</trackback:ping>
      <pingback:server>http://www.coeamyd.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.coeamyd.net/PermaLink,guid,c915d182-ecff-4e37-b22d-70185058e97f.aspx</pingback:target>
      <dc:creator>Christoph Herold</dc:creator>
      <wfw:comment>http://www.coeamyd.net/CommentView,guid,c915d182-ecff-4e37-b22d-70185058e97f.aspx</wfw:comment>
      <wfw:commentRss>http://www.coeamyd.net/SyndicationService.asmx/GetEntryCommentsRss?guid=c915d182-ecff-4e37-b22d-70185058e97f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today, I was dumbfounded by LINQ's optimization skills. I built a query over a list
of items, which have an assigned category and a display order. I wanted to fetch a
list of the distinct categories, to display them as an overview, and have them sorted
according to the order of the entries themselves. My LINQ query looked something like
this:
</p>
        <pre>var categories = context.Entries.OrderBy(e =&gt; e.DisplayOrder).Select(e =&gt; e.Category).Distinct();</pre>
        <p>
Everything seemed to work, but when I started ordering things around, the categories
would remain as they were. What I also noticed, was that they were ordered alphabetically,
which perplexed me. I decided to look at the generated query, and lo and behold, there
was not a single ORDER BY clause in it. I took the generated query, added my own order
by clause to it, and got an error:
</p>
        <pre>ORDER BY items must appear in the select list if SELECT DISTINCT is specified.</pre>
        <p>
Of course: Distinct probably just sorts the values to make filtering out duplicates
easier. I left out the Distinct() method, and my ordering was the way I wanted to
have it.
</p>
        <p>
I have not yet worked on a sql-based solution for this, since my structure holding
the categories handled duplicate filtering by itself. And my data barely has any duplicates
in it anyways, so I left it at that.
</p>
        <p>
But what amazed me, was that LINQ actually left out the order by on its own accord,
since it would have caused an error. The LINQ to SQL parser really knows, what it's
doing, although in my case, I would have liked to get some sort of warning, that the
query will not behave as expected. Nonetheless, I love LINQ :-)
</p>
        <img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=c915d182-ecff-4e37-b22d-70185058e97f" />
      </body>
      <title>OrderBy, Distinct, and LINQ's optimization skills</title>
      <guid isPermaLink="false">http://www.coeamyd.net/PermaLink,guid,c915d182-ecff-4e37-b22d-70185058e97f.aspx</guid>
      <link>http://www.coeamyd.net/PermaLink,guid,c915d182-ecff-4e37-b22d-70185058e97f.aspx</link>
      <pubDate>Thu, 16 Jul 2009 11:04:26 GMT</pubDate>
      <description>&lt;p&gt;
Today, I was dumbfounded by LINQ's optimization skills. I built a query over a list
of items, which have an assigned category and a display order. I wanted to fetch a
list of the distinct categories, to display them as an overview, and have them sorted
according to the order of the entries themselves. My LINQ query looked something like
this:
&lt;/p&gt;
&lt;pre&gt;var categories = context.Entries.OrderBy(e =&amp;gt; e.DisplayOrder).Select(e =&amp;gt; e.Category).Distinct();&lt;/pre&gt;
&lt;p&gt;
Everything seemed to work, but when I started ordering things around, the categories
would remain as they were. What I also noticed, was that they were ordered alphabetically,
which perplexed me. I decided to look at the generated query, and lo and behold, there
was not a single ORDER BY clause in it. I took the generated query, added my own order
by clause to it, and got an error:
&lt;/p&gt;
&lt;pre&gt;ORDER BY items must appear in the select list if SELECT DISTINCT is specified.&lt;/pre&gt;
&lt;p&gt;
Of course: Distinct probably just sorts the values to make filtering out duplicates
easier. I left out the Distinct() method, and my ordering was the way I wanted to
have it.
&lt;/p&gt;
&lt;p&gt;
I have not yet worked on a sql-based solution for this, since my structure holding
the categories handled duplicate filtering by itself. And my data barely has any duplicates
in it anyways, so I left it at that.
&lt;/p&gt;
&lt;p&gt;
But what amazed me, was that LINQ actually left out the order by on its own accord,
since it would have caused an error. The LINQ to SQL parser really knows, what it's
doing, although in my case, I would have liked to get some sort of warning, that the
query will not behave as expected. Nonetheless, I love LINQ :-)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=c915d182-ecff-4e37-b22d-70185058e97f" /&gt;</description>
      <comments>http://www.coeamyd.net/CommentView,guid,c915d182-ecff-4e37-b22d-70185058e97f.aspx</comments>
      <category>.NET;SQL Server;LINQ</category>
    </item>
    <item>
      <trackback:ping>http://www.coeamyd.net/Trackback.aspx?guid=53accd33-6788-4f91-b847-f316050c0e41</trackback:ping>
      <pingback:server>http://www.coeamyd.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.coeamyd.net/PermaLink,guid,53accd33-6788-4f91-b847-f316050c0e41.aspx</pingback:target>
      <dc:creator>Christoph Herold</dc:creator>
      <wfw:comment>http://www.coeamyd.net/CommentView,guid,53accd33-6788-4f91-b847-f316050c0e41.aspx</wfw:comment>
      <wfw:commentRss>http://www.coeamyd.net/SyndicationService.asmx/GetEntryCommentsRss?guid=53accd33-6788-4f91-b847-f316050c0e41</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Yesterday, I wasted a few hours trying to upgrade my SQL Server 2005 installation
to 2008. Actually, upgrading is a simple process. You can simply select, which instance
to upgrade, and the installer does the rest. It worked absolutely fine for my regular
instance. I got some installation errors for a component, but didn't mind that at
first. Everything seemed to be working.
</p>
        <p>
At least I thought so, until I noticed, WHAT component got the errors. The SQL Server
Management Studio was not installed. And the older 2005 version isn't able to connect
to 2008. Bummer.
</p>
        <p>
So I thought, let's try to reinstall it. Same error: "The error code is 2349." When
you copy the details to the clipboard, you at least find the URL <a href="http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&amp;EvtSrc=setup.rll&amp;EvtID=50000&amp;ProdVer=10.0.1600.22&amp;EvtType=0xF45F6601%25401201%25401">http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&amp;EvtSrc=setup.rll&amp;EvtID=50000&amp;ProdVer=10.0.1600.22&amp;EvtType=0xF45F6601%25401201%25401</a>,
that gives you the information, that the SQL Server Native Client is causing the trouble.
</p>
        <p>
So I tried upgrading my SQL Server Express instance, but that was also dismissed with
an error. Next, I uninstalled my SQL Server 2005 express instance, uninstalled the
native client, and now added the Management Studio feature to my SQL Server 2008 instance.
Same error, this is really getting frustrating.
</p>
        <p>
So now, my last resort is to uninstall the whole d*rn thing and try to reinstall it.
At least the installation only takes about 2 hours *cough*.
</p>
        <p>
          <strong>UPDATE:</strong> Even the complete uninstall did not help. As the error message
states, the Native Client is supposedly not installed from the sqlncli.msi package.
Well, I even uninstalled and reinstalled ONLY THAT package, to no avail. I'm still
getting the same bogus error, when I try to install SSMS. Any help is welcome! I'm
out of ideas.
</p>
        <p>
But at least I'm not all alone with my ss2008 install problems. A friend of mine had
other issues, but at least he was able to resolve them: <a href="http://www.entwicklungsgedanken.de/2009/01/28/installation-problems-with-sql-server-2008/comment-page-1/#comment-252">http://www.entwicklungsgedanken.de/2009/01/28/installation-problems-with-sql-server-2008/comment-page-1/#comment-252</a>.
</p>
        <p>
          <strong>UPDATE 2:</strong> I have found out, that it's the Visual Studio Tools for
Applications 2.0 installer, that is causing the problems. But I still have no idea
why.
</p>
        <p>
          <strong>UPDATE 3:</strong> Rollback all rants :-) I found the issue. A file could
not be replaced/updated by the installer. This was due to the fact, that my hard disk
seems to be defective. The file could not be read, even less replaced. After renaming
it, the installation went fine. So now, I have performed a scandisk, the errors have
been cleared, and everything is in order. Guess I'll be backing up more often now,
though.
</p>
        <img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=53accd33-6788-4f91-b847-f316050c0e41" />
      </body>
      <title>Upgrade hassles with SQL Server 2008</title>
      <guid isPermaLink="false">http://www.coeamyd.net/PermaLink,guid,53accd33-6788-4f91-b847-f316050c0e41.aspx</guid>
      <link>http://www.coeamyd.net/PermaLink,guid,53accd33-6788-4f91-b847-f316050c0e41.aspx</link>
      <pubDate>Wed, 28 Jan 2009 09:36:10 GMT</pubDate>
      <description>&lt;p&gt;
Yesterday, I wasted a few hours trying to upgrade my SQL Server 2005 installation
to 2008. Actually, upgrading is a simple process. You can simply select, which instance
to upgrade, and the installer does the rest. It worked absolutely fine for my regular
instance. I got some installation errors for a component, but didn't mind that at
first. Everything seemed to be working.
&lt;/p&gt;
&lt;p&gt;
At least I thought so, until I noticed, WHAT component got the errors. The SQL Server
Management Studio was not installed. And the older 2005 version isn't able to connect
to 2008. Bummer.
&lt;/p&gt;
&lt;p&gt;
So I thought, let's try to reinstall it. Same error: "The error code is 2349." When
you copy the details to the clipboard, you at least find the URL &lt;a href="http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=setup.rll&amp;amp;EvtID=50000&amp;amp;ProdVer=10.0.1600.22&amp;amp;EvtType=0xF45F6601%25401201%25401"&gt;http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=setup.rll&amp;amp;EvtID=50000&amp;amp;ProdVer=10.0.1600.22&amp;amp;EvtType=0xF45F6601%25401201%25401&lt;/a&gt;,
that gives you the information, that the SQL Server Native Client is causing the trouble.
&lt;/p&gt;
&lt;p&gt;
So I tried upgrading my SQL Server Express instance, but that was also dismissed with
an error. Next, I uninstalled my SQL Server 2005 express instance, uninstalled the
native client, and now added the Management Studio feature to my SQL Server 2008 instance.
Same error, this is really getting frustrating.
&lt;/p&gt;
&lt;p&gt;
So now, my last resort is to uninstall the whole d*rn thing and try to reinstall it.
At least the installation only takes about 2 hours *cough*.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;UPDATE:&lt;/strong&gt; Even the complete uninstall did not help. As the error message
states, the Native Client is supposedly not installed from the sqlncli.msi package.
Well, I even uninstalled and reinstalled ONLY THAT package, to no avail. I'm still
getting the same bogus error, when I try to install SSMS. Any help is welcome! I'm
out of ideas.
&lt;/p&gt;
&lt;p&gt;
But at least I'm not all alone with my ss2008 install problems. A friend of mine had
other issues, but at least he was able to resolve them: &lt;a href="http://www.entwicklungsgedanken.de/2009/01/28/installation-problems-with-sql-server-2008/comment-page-1/#comment-252"&gt;http://www.entwicklungsgedanken.de/2009/01/28/installation-problems-with-sql-server-2008/comment-page-1/#comment-252&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;UPDATE 2:&lt;/strong&gt; I have found out, that it's the Visual Studio Tools for
Applications 2.0 installer, that is causing the problems. But I still have no idea
why.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;UPDATE 3:&lt;/strong&gt; Rollback all rants :-) I found the issue. A file could
not be replaced/updated by the installer. This was due to the fact, that my hard disk
seems to be defective. The file could not be read, even less replaced. After renaming
it, the installation went fine. So now, I have performed a scandisk, the errors have
been cleared, and everything is in order. Guess I'll be backing up more often now,
though.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=53accd33-6788-4f91-b847-f316050c0e41" /&gt;</description>
      <comments>http://www.coeamyd.net/CommentView,guid,53accd33-6788-4f91-b847-f316050c0e41.aspx</comments>
      <category>Administration;Development;SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://www.coeamyd.net/Trackback.aspx?guid=0e890bb9-e18c-411e-909f-b0e4a3622258</trackback:ping>
      <pingback:server>http://www.coeamyd.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.coeamyd.net/PermaLink,guid,0e890bb9-e18c-411e-909f-b0e4a3622258.aspx</pingback:target>
      <dc:creator>Christoph Herold</dc:creator>
      <wfw:comment>http://www.coeamyd.net/CommentView,guid,0e890bb9-e18c-411e-909f-b0e4a3622258.aspx</wfw:comment>
      <wfw:commentRss>http://www.coeamyd.net/SyndicationService.asmx/GetEntryCommentsRss?guid=0e890bb9-e18c-411e-909f-b0e4a3622258</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
We finally got a useful response concerning the TransactionScope Timeout problem.
Someone else had a similar issue and started a new thread in the Microsoft forums: <a href="http://forums.microsoft.com/forums/ShowPost.aspx?PostID=3069149&amp;SiteID=1">http://forums.microsoft.com/forums/ShowPost.aspx?PostID=3069149&amp;SiteID=1</a>.
The issue has been resolved, but only as of the .NET Framework 3.5. There is a new
connection string parameter named "Transaction binding". This is set to "Implicit
unbind", which by default causes the described (mis-)behavior. Instead, you must set
it to "explicit unbind", so that queries issued after the transaction times out are
still considered to be INSIDE the transaction and not in auto-commit mode. You can
read the details in the forum post.
</p>
        <p>
Alas, this only solves the problem when using the SqlClient ADO.NET provider. For
all other transactive repositories, the issue still exists.
</p>
        <img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=0e890bb9-e18c-411e-909f-b0e4a3622258" />
      </body>
      <title>News concerning TransactionScope and Timeouts</title>
      <guid isPermaLink="false">http://www.coeamyd.net/PermaLink,guid,0e890bb9-e18c-411e-909f-b0e4a3622258.aspx</guid>
      <link>http://www.coeamyd.net/PermaLink,guid,0e890bb9-e18c-411e-909f-b0e4a3622258.aspx</link>
      <pubDate>Fri, 28 Mar 2008 11:43:27 GMT</pubDate>
      <description>&lt;p&gt;
We finally got a useful response concerning the TransactionScope Timeout problem.
Someone else had a similar issue and started a new thread in the Microsoft forums: &lt;a href="http://forums.microsoft.com/forums/ShowPost.aspx?PostID=3069149&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/forums/ShowPost.aspx?PostID=3069149&amp;amp;SiteID=1&lt;/a&gt;.
The issue has been resolved, but only as of the .NET Framework 3.5. There is a new
connection string parameter named "Transaction binding". This is set to "Implicit
unbind", which by default causes the described (mis-)behavior. Instead, you must set
it to "explicit unbind", so that queries issued after the transaction times out are
still considered to be INSIDE the transaction and not in auto-commit mode. You can
read the details in the forum post.
&lt;/p&gt;
&lt;p&gt;
Alas, this only solves the problem when using the SqlClient ADO.NET provider. For
all other transactive repositories, the issue still exists.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=0e890bb9-e18c-411e-909f-b0e4a3622258" /&gt;</description>
      <comments>http://www.coeamyd.net/CommentView,guid,0e890bb9-e18c-411e-909f-b0e4a3622258.aspx</comments>
      <category>.NET;ADO.NET;Development;SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://www.coeamyd.net/Trackback.aspx?guid=2cb4ce53-73bf-4d15-95a1-d320e147dd2f</trackback:ping>
      <pingback:server>http://www.coeamyd.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.coeamyd.net/PermaLink,guid,2cb4ce53-73bf-4d15-95a1-d320e147dd2f.aspx</pingback:target>
      <dc:creator>Christoph Herold</dc:creator>
      <wfw:comment>http://www.coeamyd.net/CommentView,guid,2cb4ce53-73bf-4d15-95a1-d320e147dd2f.aspx</wfw:comment>
      <wfw:commentRss>http://www.coeamyd.net/SyndicationService.asmx/GetEntryCommentsRss?guid=2cb4ce53-73bf-4d15-95a1-d320e147dd2f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you've ever built an ASP.NET application using a User Instance database, you may
have come across the problem, that you would have liked to access the database using
the Management Studio or similar programs, but just couldn't find the database, because
it is in the user instance and not in the database server itself.
</p>
        <p>
I'd like to issue my thanks to Mike of the Sql Server Express Weblog for publishing
how it's done. I looked for hours trying to get the database attached to the regular
server, but all that is not neccessary. You can directly connect to the user instance
by using a named pipe. The original explanation can be found here: <a href="http://blogs.msdn.com/sqlexpress/archive/2006/11/22/connecting-to-sql-express-user-instances-in-management-studio.aspx">http://blogs.msdn.com/sqlexpress/archive/2006/11/22/connecting-to-sql-express-user-instances-in-management-studio.aspx</a>.
Below are the required steps in short.
</p>
        <ul>
          <li>
Connect to the server normally.</li>
          <li>
Issue a new query:<br /><font face="Courier New">SELECT owning_principal_name, instance_pipe_name, heart_beat
FROM sys.dm_os_child_instances</font></li>
          <li>
Locate the user instance you wish to connect to and copy the instance_pipe_name column's
value.</li>
          <li>
Open a new server connection and use the copied value as the server name.</li>
        </ul>
        <p>
And presto, you can access everything as you would in the regular server.
</p>
        <p>
Note: The pipe name is generated, when the user instance is first created. After that,
it will always remain the same, so you can store it for later use. Access is only
possible, when the user instance is active (see the heart_beat column). If it is not,
you must first launch the application that uses it (i.e. the web site).
</p>
        <img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=2cb4ce53-73bf-4d15-95a1-d320e147dd2f" />
      </body>
      <title>Connecting to a SqlExpress User Instance</title>
      <guid isPermaLink="false">http://www.coeamyd.net/PermaLink,guid,2cb4ce53-73bf-4d15-95a1-d320e147dd2f.aspx</guid>
      <link>http://www.coeamyd.net/PermaLink,guid,2cb4ce53-73bf-4d15-95a1-d320e147dd2f.aspx</link>
      <pubDate>Wed, 25 Apr 2007 15:41:44 GMT</pubDate>
      <description>&lt;p&gt;
If you've ever built an ASP.NET application using a User Instance database, you may
have come across the problem, that you would have liked to access the database using
the Management Studio or similar programs, but just couldn't find the database, because
it is in the user instance and not in the database server itself.
&lt;/p&gt;
&lt;p&gt;
I'd like to issue my thanks to Mike of the Sql Server Express Weblog for publishing
how it's done. I looked for hours trying to get the database attached to the regular
server, but all that is not neccessary. You can directly connect to the user instance
by using a named pipe. The original explanation can be found here: &lt;a href="http://blogs.msdn.com/sqlexpress/archive/2006/11/22/connecting-to-sql-express-user-instances-in-management-studio.aspx"&gt;http://blogs.msdn.com/sqlexpress/archive/2006/11/22/connecting-to-sql-express-user-instances-in-management-studio.aspx&lt;/a&gt;.
Below are the required steps in short.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Connect to the server normally.&lt;/li&gt;
&lt;li&gt;
Issue a new query:&lt;br&gt;
&lt;font face="Courier New"&gt;SELECT owning_principal_name, instance_pipe_name, heart_beat
FROM sys.dm_os_child_instances&lt;/font&gt;
&lt;/li&gt;
&lt;li&gt;
Locate the user instance you wish to connect to and copy the instance_pipe_name column's
value.&lt;/li&gt;
&lt;li&gt;
Open a new server connection and use the copied value as the server name.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
And presto, you can access everything as you would in the regular server.
&lt;/p&gt;
&lt;p&gt;
Note: The pipe name is generated, when the user instance is first created. After that,
it will always remain the same, so you can store it for later use. Access is only
possible, when the user instance is active (see the heart_beat column). If it is not,
you must first launch the application that uses it (i.e. the web site).
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=2cb4ce53-73bf-4d15-95a1-d320e147dd2f" /&gt;</description>
      <comments>http://www.coeamyd.net/CommentView,guid,2cb4ce53-73bf-4d15-95a1-d320e147dd2f.aspx</comments>
      <category>Development;SQL Server;Web</category>
    </item>
    <item>
      <trackback:ping>http://www.coeamyd.net/Trackback.aspx?guid=f3af1717-cf57-401f-b250-89c210180535</trackback:ping>
      <pingback:server>http://www.coeamyd.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.coeamyd.net/PermaLink,guid,f3af1717-cf57-401f-b250-89c210180535.aspx</pingback:target>
      <dc:creator>Christoph Herold</dc:creator>
      <wfw:comment>http://www.coeamyd.net/CommentView,guid,f3af1717-cf57-401f-b250-89c210180535.aspx</wfw:comment>
      <wfw:commentRss>http://www.coeamyd.net/SyndicationService.asmx/GetEntryCommentsRss?guid=f3af1717-cf57-401f-b250-89c210180535</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">After a quick search in Google, I found
this nice page, describing a way to perform recursive queries for hierarchical data
in SQL Server 2000 and 2005. So, for everyone interested, here's the link: <a href="http://www.yafla.com/papers/sqlhierarchies/sqlhierarchies.htm">http://www.yafla.com/papers/sqlhierarchies/sqlhierarchies.htm</a><br /><br /><p></p><img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=f3af1717-cf57-401f-b250-89c210180535" /></body>
      <title>Recursive queries for SQL Server</title>
      <guid isPermaLink="false">http://www.coeamyd.net/PermaLink,guid,f3af1717-cf57-401f-b250-89c210180535.aspx</guid>
      <link>http://www.coeamyd.net/PermaLink,guid,f3af1717-cf57-401f-b250-89c210180535.aspx</link>
      <pubDate>Fri, 31 Mar 2006 08:46:52 GMT</pubDate>
      <description>After a quick search in Google, I found this nice page, describing a way to perform recursive queries for hierarchical data in SQL Server 2000 and 2005. So, for everyone interested, here's the link: &lt;a href="http://www.yafla.com/papers/sqlhierarchies/sqlhierarchies.htm"&gt;http://www.yafla.com/papers/sqlhierarchies/sqlhierarchies.htm&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.coeamyd.net/aggbug.ashx?id=f3af1717-cf57-401f-b250-89c210180535" /&gt;</description>
      <comments>http://www.coeamyd.net/CommentView,guid,f3af1717-cf57-401f-b250-89c210180535.aspx</comments>
      <category>SQL Server;Development</category>
    </item>
  </channel>
</rss>