Click here to Skip to main content
15,885,309 members
Articles / Database Development / SQL Server

Recursion in SQL using CTE

Rate me:
Please Sign up or sign in to vote.
4.09/5 (15 votes)
16 Nov 2008CPOL2 min read 45K   364   24  
This article demostrates how you can achieve a function recursion effect in SQL.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions