TAILIEUCHUNG - Oracle Built−in Packages- P138

Oracle Built−in Packages- P138: Ah, for the good old days of Version of PL /SQL! Life was so simple then. No stored procedures or functions and certainly no packages. You had your set of built−in functions, like SUBSTR and TO_DATE. You had the IF statement and various kinds of loops. With these tools at hand, you built your batch−processing scripts for execution in SQL*Plus, and you coded your triggers in SQL*Forms , and you went home at night content with a good day's work done. | Appendix A What s on the Companion Disk Restrictions Note the following restrictions on calling GENERATE_REPLICATION_TRIGGER You must call this procedure from the master definition site. The replication group must be quiesced. The GENERATE_REPLICATION_SUPPORT or GENERATE_PACKAGE_SUPPORT must previously have been called for the object specified in the oname parameter. Examples The simplest invocation of the GENERATE_REPLICATION_TRIGGER procedure does the most work this call generates replication triggers for all replicated tables at all master sites BEGIN gname SPROCKET END This next example generates replication triggers for the replicated table at all master sites BEGIN gname SPROCKET oname PRODUCTS END The following call generates replication triggers for all replicated tables in the SPROCKET replication group at the master sites and BEGIN gname SPROCKET master_list END The following call regenerates the replication support for all objects in replication group SPROCKET at all master sites EXECUTE gname SPROCKET For an additional example see the file on the companion disk. The example lists all objects in the database with a status of INVALID and generates the appropriate SQL statements to attempt to validate them. Adding and Removing Master Sites with DBMS_REPCAT Now you have generated replication support for those objects you intend to replicate and you are ready to add master sites to your environment. In advanced replication parlance a master site is a database instance where replicated objects and their replication support triggers and packages exist. Master sites are sometimes called peers because every master site has the same objects and identical or nearly .

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.