Pages

Monday, June 23, 2014

Looping through GO statement - TIP # 19


Although, I did not get chance to use this facility in my projects but it is good to know feature.

Suppose you want looping and want to insert data in table then in such situation you can use this GO lopping feature.

In below example We are inserting data into debug table with GO statement





Now  when you see the debug table you will find 1000 records are there.


 


 Enjoy !!!

No comments:

Post a Comment