sona4144
BAN USER
- 0of 0 votes
AnswersI want to run a function that does that automatically for me until the condition is complete (condition is some update statement),if i have 2000 records and exit when condition should be counter<500;
- sona4144 in India
so if i have 2000 records so counter will be 2000/500 =4
loop will execute for 4 times
update statement should consist of
update tablename set counter=1 where rownum<500
this process continues until the update condition is met| Report Duplicate | Flag | PURGE
Analyst SQL
0 Answers I want to run a function that does that automatically for me until the condition is complete (condition is some update statement)
if i have 2000 records and exit when condition should be counter<500;
- sona4144 February 11, 2016
so if i have 2000 records so counter will be 2000/500 =4
loop will execute for 4 times
update statement should consist of
update tablename set counter=1 where rownum<500
this process continues until the update condition is met| Flag | PURGE
Repshanamkyler38, AT&T Customer service email at ABC TECH SUPPORT
Hi, I am Shana and I live in Chicago USA .I am working as a Tax preparer in an Adaptabiz ...
Repjoycepwise, Blockchain Developer at Accenture
Hello, I’m Joyce. I’m a business developer living in Tampa, FL. I am a fan of music, travel ...