ORA_DICT_OBJ_NAME_LIST: list of object names touched by the triggering event. : ORA « System Packages « Oracle PL / SQL






ORA_DICT_OBJ_NAME_LIST: list of object names touched by the triggering event.

   
SQL>
SQL> DECLARE
  2    name_list DBMS_STANDARD.ORA_NAME_LIST_T;
  3    counter    PLS_INTEGER;
  4  BEGIN
  5    IF ora_sysevent = 'ASSOCIATE_STATISTICS' THEN
  6      counter := ora_dict_obj_name_list(name_list);
  7      dbms_output.put_line('counter:'||counter);
  8    END IF;
  9  END;
 10  /

PL/SQL procedure successfully completed.

SQL>
SQL>

   
    
    
  








Related examples in the same category

1.ORA_CLIENT_IP_ADDRESS returns the client IP address as a VARCHAR2 datatype.
2.ORA_DES_ENCRYPTED_PASSWORD returns the DES-encrypted password as a VARCHAR2 datatype
3.ORA_DICT_OBJ_NAME returns an object name as a VARCHAR2 datatype
4.ORA_DICT_OBJ_OWNER returns an owner of the object acted upon by the event as a VARCHAR2 datatype.
5.ORA_DICT_OBJ_OWNER_LIST returns the number of elements in the list indexed by a PLS_INTEGER datatype.
6.ORA_DICT_OBJ_TYPE returns the datatype of the dictionary object changed by the event as a VARCHAR2 datatype.
7.ORA_GRANTEE returns the number of elements in the list indexed by a PLS_INTEGER datatype.
8.ORA_INSTANCE_NUM returns the current database instance number as a NUMBER datatype.
9.ORA_IS_ALTER_COLUMN returns a true or false value as a BOOLEAN datatype
10.ORA_IS_CREATING_NESTED_TABLE returns a true or false value as a BOOLEAN datatype when you create a table with a nested table.
11.ORA_LOGIN_USER function returns the current schema name as a VARCHAR2 datatype.
12.ORA_PRIVILEGE_LIST returns the number of elements in the list indexed by a PLS_INTEGER datatype.
13.ORA_SERVER_ERROR returns an error number as a NUMBER datatype.
14.ORA_SERVER_ERROR_MSG returns an error message text as a VARCHAR2 datatype.
15.ORA_SYSEVENT function returns the system event that was responsible for firing the trigger as a VARCHAR2 datatype.
16.ORA_WITH_GRANT_OPTION returns a true or false value as a BOOLEAN datatype.
17.The ORA_IS_SERVERERROR returns a true or false value as a BOOLEAN datatype when the error is on the error stack.