Frequently Asked Interview Questions

P/L SQL Tables / Arrays

PL/SQL tables are declared in the declaration portion of the block. A table is a composite data type in PL/SQL. PL/SQL tables can have one column and a primary key neither of which can be named. The column can be any scalar type but primary key should be a BINARY_INTEGER data type.

Rules for PL/SQL Tables:
  1. A loop must be used to insert values into a PL/SQL Table
  2. You cannot use the Delete command to delete the contents of PL/SQL Table. You must assign an empty table to the PL/SQL table being deleted.

Most Visited Pages

Home | Site Index | Contact Us