PLS-00515: The type of the REF INTO variable 'string' must be REF to the table's type
Cause: In INSERT statement with REF INTO clause, the type of the data item must be REF to the type of the table used in INTO clause.
Action: Use variable or column of appropriate type.