TAILIEUCHUNG - OCA /OCP Oracle Database 11g A ll-in-One Exam Guide- P77

OCA /OCP Oracle Database 11g A ll-in-One Exam Guide- P77:There is an ever increasing demand for staff with IT industry certification. The benefits to employers are significant—they can be certain that staff have a certain level of competence—and the benefits to the individuals, in terms of demand for their services, are equally great. Many employers are now requiring technical staff to have certifications, and many IT purchasers will not buy from firms that do not have certified staff. | OCA OCP Oracle Database 11g All-in-One Exam Guide 716 Figure 19-2 Renaming tables with SQL Plus The DROP TABLE command has been mapped internally onto a RENAME command which affects the table and all its associated indexes triggers and constraints with the exception of foreign key constraints which are dropped. Foreign key constraints have to be physically dropped. If they were maintained even with a different name then DML on the nondropped parent table would be constrained by the contents of a dropped table which would be absurd. Grants on tables do not have names so they can t be renamed. When you grant an object privilege you specify the object by name and the underlying storage of the grant references the object by its object number. As the object numbers don t get changed by a RENAME operation the grants remain valid. As far as normal SELECT and DML statements are concerned a dropped table is definitely dropped. There is no change to any other commands and all your software will assume that a dropped table really is gone. But now that DROP is in fact RENAME it becomes possible to undrop by renaming the table back to its original name. However this is not guaranteed to succeed. It may be that the space occupied by the dropped table has been reused. There are also complications if in the interim period another table has been created reusing the same name as the dropped table. The dropped objects can be queried by looking at the recycle bin to obtain their new names. This is a listing of all objects that have been dropped mapping the original table and index names onto the system-generated names of the dropped objects. There is a recycle bin for each user visible in the USER_RECYCLEBIN data dictionary view or for a global picture you can query DBA_RECYCLEBIN. The space occupied by the recycle bin objects will be reused automatically when a tablespace comes under space pressure after which time the objects cannot be recovered or you can manually force Oracle to .

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.