Recursive SQL Server query

0

Please login or register to vote for this query.

(click on this box to dismiss)

http://stackoverflow.com/questions/13933255/recursive-sql-server-query

Music Fans Meta

Q&A about the site for music historians, critics, and fans

WITH c AS(
	SELECT 1n,1m
 UNION ALL
	SELECT m,n+m
	FROM c
	WHERE n < 100
)

SELECT n
FROM c x

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results