Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
How does one iterate through items and records in a specified block?
How does one iterate through items and records in a specified block?
✍: Guest
One can use NEXT_FIELD to iterate (loop) through items in a specific block and NEXT_RECORD to iterate through records in a block. Code example:
OriPos := TO_NUMBER(:System.Trigger_Record);
First_Record;
LOOP
-- do processing
IF (:System.Last_Record = 'TRUE') THEN
Go_Record(OriPos);
EXIT;
ELSE
Next_Record;
END IF;
END LOOP
2011-03-22, 8681👍, 0💬
Popular Posts:
How can you raise custom errors from stored procedure ? The RAISERROR statement is used to produce a...
How will you freeze the requirement in this case? What will be your requirement satisfaction criteri...
Can you explain project life cycle ? Figure :- 12.2 Life cycle of a project There are five stages of...
What is the difference between Session State and ViewState? ViewState is specific to a page in a ses...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...