OR Flashcards

1
Q

Typendefinition

A
create type Adress_Typ as
(ort varchar(30),
plz integer,
strasse varchar(30))
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Erstelle Tabelle aus Typ

A

create table Adresse of Adress_Typ(

ref OID is system generated);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Vererbung

A

create type Geschäftsadresse_Typ under Adress_Typ
as (gebiet varchar(30))
ref is system generated;

create table Geschäftsadresse of Geschäftsadresse_Typ(
ref OID is system generated);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Referenzen

A
create type Assistent_Typ under Angestellter_Typ 
as (
fachgebiet varchar(30),
boss ref Professor_Typ scope Professor)
ref is system generated;

create table Assistent of Assistent_Typ (
personalNr primary key,
ref OID is system generated);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly