using limitfor nested tables that have no maximum


Using LIMIT

For nested tables, that have no maximum size, the LIMIT returns NULL. For varrays, the LIMIT returns the maximum number of elements that a varray can have (that you must specify in its type definition). For illustration, when the maximum size of varray projects is 25 elements, then the IF condition below is true:

IF projects.LIMIT = 25 THEN...

You can use LIMIT where an integer expression is allowed. In the illustration below, you use LIMIT to determine if you can add 20 more elements to the varray projects:

IF (projects.COUNT + 20) < projects.LIMIT THEN...

Request for Solution File

Ask an Expert for Answer!!
PL-SQL Programming: using limitfor nested tables that have no maximum
Reference No:- TGS0172659

Expected delivery within 24 Hours