IS A SET operator checks whether a variable is a VARRAY or NESTED TABLE collection variable : IS « PL SQL « Oracle PL / SQL






IS A SET operator checks whether a variable is a VARRAY or NESTED TABLE collection variable

 

SQL>
SQL>  DECLARE
  2     TYPE list IS TABLE OF INTEGER;
  3     a LIST := list();
  4   BEGIN
  5     IF a IS A SET THEN
  6       dbms_output.put_line('"a" is a set.');
  7     END IF;
  8   END;
  9   /
"a" is a set.

PL/SQL procedure successfully completed.

   
  








Related examples in the same category

1.IS A SET, table collection
2.IS EMPTY
3.IS EMPTY operator checks whether a VARRAY or NESTED TABLE collection variable is empty
4.IS NULL operator checks whether a variable value is null
5.If varray is empty