Write A Query To Print 1 To 100 In SQL Server Using Without LoopAmit Kumar9yPublished Apr 16, 2017, 12:00 AMUpdated Apr 16, 2017, 9:25 AM189.2k03Reactions×25BlogWe will write very simple query. Do not worry about how will I write without loop. Query; with CTE as ( select 1 Number union all select Number +1 from CTE where Number<100 ) select *from CTE Output CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.