slides12 - Schedule Today: Feb. 19 (T) x x...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Winter 2002 Arthur Keller – CS 180 12–1 Schedule Today: Feb. 19 (T) Object-Relational Systems. Read Sections 4.5, 9.4-9.5. Assignment 5 due. Feb. 21 (TH) Transactions, Authorization. Read Sections 8.6-8.7. Project Part 5 due. Feb. 26 (T) Datalog. Read Sections 10.1-10.2. Assignment 6 due. Feb. 28 (TH) Datalog and SQL Recursion, ODL. Read Sections 10.3-10.4, 4.1-4.4. Project Part 6 due.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Winter 2002 Arthur Keller – CS 180 12–2 Object-Relational Systems Object-oriented ideas enter the relational world. Keep relation as the fundamental abstraction. Compare with “object-oriented DBMS,” which uses the class as the fundamental abstraction and tacks on relations as one of many types. Motivations Allow DBMS’s to deal with specialized types – maps, signals, images, etc. – with their own specialized methods. Supports specialized methods even on conventional relational data. Supports structure more complex than “flat files.”
Background image of page 2
Winter 2002 Arthur Keller – CS 180 12–3 Plan 1. Basic ideas from SQL standards documents. 2. Use Oracle 8i/9i notation when similar. 3. Introduce some new concepts from Oracle.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Winter 2002 Arthur Keller – CS 180 12–4 User-Defined Types SQL allows UDT ’s that play a dual role: 1. They can be the types of relations; i.e., the type of their tuple. Sometimes called a row type . 2. They can be the type of an attribute in a relation.
Background image of page 4
Winter 2002 Arthur Keller – CS 180 12–5 Defining UDT’s – Example in Oracle Syntax CREATE TYPE BarType AS OBJECT ( name CHAR(20) UNIQUE, addr CHAR(20) ); / CREATE TYPE BeerType AS OBJECT ( name CHAR(20) UNIQUE, manf CHAR(20) ); / CREATE TYPE MenuType AS OBJECT ( bar REF BarType, beer REF BeerType, price FLOAT ); /
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Arthur Keller – CS 180 12–6 Notes In Oracle, type definitions must be followed by a slash ( / ) in order to get them to compile.
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/21/2011 for the course CS CS 180 taught by Professor Dr.arthur during the Fall '01 term at The University of Akron.

Page1 / 23

slides12 - Schedule Today: Feb. 19 (T) x x...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online