Some useful SQL for handling hiearchical/recursive queries(geekzilla.co.uk)

submitted by fatdavehfatdaveh(1420) 5 years, 8 months ago

I used several dodgy ways of handling hierarchical structures in my apps before coming across this handy snippet.

1 comment |category: |Views: 4

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dabbasdabbas(0) 5 years, 8 months ago 0

this should be done using a CTE in SQL Server 2005.

Reply

information Login or create an account to comment on this story