Loop Example 2 SQL
In this example I will be showing how to use loop.
DECLARE v_counter BINARY_INTEGER := 1; BEGIN LOOP insert into temp_table values(v_counter, 'Loop Index'); v_counter := v_counter + 1; EXIT WHEN v_counter = 20; END LOOP; COMMIT; END; /
Total Views: 682
My name is Jean-Mathieu
I created this website so other people could enjoy finding useful stuff easier. If you have any question do not hesitate to contact me.
|jean8mathieu||Created on 02/25/15|
Disclosure: We are a website that needs compensation to operate like any other website on the internet.
We may receive consideration for our reviews but we are totally unbiased and do not accept paid reviews or fake reviews claiming to be something they are not.