The PRINT command is used to display the value of a bind variable. One of its most useful applications is to retrieve and print data from a REFCURSOR variable which has been opened within a PL/SQL block or returned from a PL/SQL procedure. PRINT is discussed in Chapter 7 .
PRI[NT] [bind_variable_name
]
where:
Is the command, which may be abbreviated to PRI.
Is the name of the bind variable you want to print. If you omit a name, the values of all bind variables are printed.