I want to share my knowledge through this blog. To keep myself active in technical world , I am posting some important concepts and it would be useful to tech guys . This blog shares the concepts of BI and SQL concepts.
Sunday, July 3, 2016
Important Interview Questions in Sql Server.
1.Ho to print 1-100 numbers without using loop?
SOL:
with cte
as
(
select 1 as count
union all
select count + 1 from cte where count <100
)
select * from cte
No comments:
Post a Comment