Odd No Records Only shown using loop

Jayakumars
Posted by Jayakumars under Sql Server category on | Points: 40 | Views : 934
9.-- Odd No Records Only shown using loop
--declare @i int
--DECLARE @t int
--set @i=1
--WHILE @i<=4
--begin
--print @i
--IF(@i%2=1)
--begin
--SELECT * FROM Employee where EmployeeID in(@i)
--end
--set @i=@i+1
--print @i
--END

Comments or Responses

Login to post response