Log in

View Full Version : help....



morgana
10-05-2004, 23:39
guys thelw help. :(

apo SQL pws pate??

kapoios pou vlepei to eksis erwtima -->

" Write the SQL to create tables for two entities in your design. Make sure that these statements demonstrate the four types of relational constraint, i.e. entity, referential, domain and general, by annotating the relevant features

to general ti einai???? mh me koroidevete giati twra mathainw ntaksi?
thx anyway :|

Deggial
11-05-2004, 00:25
General constraint νομίζω είναι ο περιορισμός των τιμών που μπορεί να πάρει ένα γνώρισμα.

Σε Oracle παραδείγματος χάριν:



CREATE TABLE Aytokinito (
....
Kivika INT,
....
CONSTRAINT aytokinito_kivika_thetikos
CHECK (Kivika > 0)
);

morgana
11-05-2004, 00:59
mm ayto pou les nomiza oti pigene gia to domain..

pantws thx tha to meletisw :)

Deggial
11-05-2004, 01:17
Domain constraint νομίζω πως είναι ορισμός τύπου. Π.χ.



CREATE DOMAIN Ar_Taytotitas AS CHAR(7);


Σε κάθε περίπτωση, δεν είμαι και πολύ εξικοιωμένος με την αγγλική ορολογία των database-άδων.