TAILIEUCHUNG - OCA: Oracle Database 11g Administrator Certified Associate Study Guide- P17

OCA: Oracle Database 11g Administrator Certified Associate Study Guide- P17: There is high demand for professionals in the information technology (IT) industry, and Oracle certifications are the hottest credential in the database world. You have made the right decision to pursue certification, because being Oracle Database 11g certified will give you a distinct advantage in this highly competitive market. | Identifying PL SQL Objects 731 No grant to PUBLIC allowed for DICTIONARY_OBJ_OWNER . DICTIONARY_OBJ_NAME END IF END LOOP END In the preceding example the DDL event is a GRANT statement issued by user engineering. The code examines the grantee list and if it finds the special user role PUBLIC an exception is raised causing the grant to fail. Table shows the DDL trigger events. TABLE DDL Trigger Events Event When It Fires BEFORE AFTER ALTER When an ALTER statement changes a database object BEFORE AFTER ANALYZE When the database gathers or deletes statistics or validates the structure of an object BEFORE AFTER ASSOCIATE STATISTICS When the database associates a statistic with a database object with an ASSOCIATE STATISTICS statement BEFORE AFTER AUDIT When the database records an audit action except FGA BEFORE AFTER COMMENT When a comment on a table or column is modified BEFORE AFTER CREATE When the database object is created BEFORE AFTER DDL In conjunction with any of the following ALTER ANALYZE ASSOCIATE STATISTICS AUDIT COMMENT CREATE DISASSOCIATE STATISTICS DROP GRANT NOAUDIT RENAME REVOKE or TRUNCATE BEFORE AFTER DISASSOCIATE STATISTICS When a database disassociates a statistic type from a database object with a DISASSOCIATE STATISTICS statement BEFORE AFTER DROP When a DROP statement removes an object from the database BEFORE AFTER GRANT When a GRANT statement assigns a privilege BEFORE AFTER NOAUDIT When a NOAUDIT statement changes database auditing BEFORE AFTER RENAME When a RENAME statement changes an object name BEFORE AFTER REVOKE When a REVOKE statement rescinds a privilege BEFORE AFTER TRUNCATE When a TRUNCATE statement purges a table 732 Chapter 13 Managing Data and Undo Database Trigger Events Database event triggers fire when the specified database-level event occurs. Most of these triggers are available only before or after the database event but not both. The following example creates an after-server error trigger that sends an email .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.