TAILIEUCHUNG - Database and XML Technologies- P2

Tham khảo tài liệu 'database and xml technologies- p2', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 40 C. Liu et al. port. For this purpose we will differentiate the single attribute primary foreign keys from multi-attribute primary foreign keys while transforming the relational database schema to XML schema. We also classify a relation into the following four categories based on different types of primary keys regular the primary key of a regular relation contains no foreign keys. component the primary key of a component relation contains one foreign key which references its parent relation. The other part of the primary key serves as a local identifier under the parent relation. A component relation is used to represent a component or a multi-valued attribute of its parent relation. supplementary the primary key of a supplementary relation as a whole is also a foreign key which references another relation. This relation is used to supplement another relation or to represent a subclass for translating a generalization hierarchy from a conceptual schema. association the primary key of an association relation contains more than one foreign keys each of which references a participant relation. Based on above discussion we give the set of mapping rules. Basic Mapping Rules Given a relational database schema Sch with primary foreign key definitions we may use the following basic mapping rules to convert Sch into a corresponding XML schema SchXML. Rule 1 For a relational database schema Sch a root element named Sch_XML is created in the corresponding XML schema as follows. xs element name Sch_XML xs complexType xs sequence translated relation schema of Sch xs sequence xs complexType xs element Rule 2 For each regular or association relation R the following element with the same name as the relation schema is created and then put under the root element. xs element name R minOccurs 0 maxOccurs unbounded xs complexType xs sequence -- the attributes of R -- xs sequence xs complexType xs element A Virtual XML Database Engine for Relational Databases 41 Rule 3 For each

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.