Previous |
Next |
Use this procedure to delete a named collection. All members that belong to the collection are removed and the named collection is dropped. If the named collection does not exist for the same user in the current session for the current Application ID, an application error is raised.
Syntax
APEX_COLLECTION.DELETE_COLLECTION ( p_collection_name IN VARCHAR2);
Parameters
Table: DELETE_COLLECTION Procedure Parameters describes the parameters available in the DELETE_COLLECTION
procedure.
DELETE_COLLECTION Procedure Parameters
Parameter | Description |
---|---|
|
The name of the collection to remove all members from and drop. An error is returned if this collection does not exist with the specified name of the current user and in the same session. |
Example
This example shows how to use the DELETE_COLLECTION
procedure to remove the 'EMPLOYEE
' collection.
Begin APEX_COLLECTION.DELETE_COLLECTION( p_collection_name => 'EMPLOYEE'); End;