Quantcast
Channel: While loops
Viewing all articles
Browse latest Browse all 7

While loops

$
0
0

Hello, I want to do the following but have limited experience with while loops.

 

I want to use a while loop to populate a table #NUMBERS (Number int primary key) with EVEN numbers 1-300. How would you be able to do this with CTE or mod function?

 

 


Bryan Revelant

Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images