![]() | |
#1
| |||
| |||
|
|
ALTER TABLE EMPLOYEE # here is the buggy code ADD FOREIGN KEY (DNO) REFERENCES DEPARTMENT(DNUMBER) ON DELETE SET DEFAULT ON UPDATE CASCADE; ALTER TABLE DEPARTMENT ADD FOREIGN KEY (MGRSSN) REFERENCES EMPLOYEE(SSN) ON DELETE SET DEFAULT ON UPDATE CASCADE ; Please tell me what could be wrong, |
#2
| |||
| |||
|
|
Which open source products can offer this and hence qualify for being an RDBMS or even ANSI SQL compatibility ? |
#3
| |||
| |||
|
|
Em Thu, 21 Aug 2003 01:16:04 -0700, Morten Gulbrandsen escreveu: Which open source products can offer this and hence qualify for being an RDBMS or even ANSI SQL compatibility ? PostgreSQL, FireBird and SAP db strive to be full-fledged SQL DBMSs. But SQL is not relational. |
#4
| |||
| |||
|
|
if ANSI SQL standard is not documenting an RDBMS, what is then relational ? |
#5
| |||||
| |||||
|
|
Leandro Guimarães Faria Corsetti Dutra <lgcdutra (AT) terra (DOT) com.br> wrote in message news:<pan.2003.08.21.22.38.11.649468 (AT) terra (DOT) com.br>... Em Thu, 21 Aug 2003 01:16:04 -0700, Morten Gulbrandsen escreveu: Which open source products can offer this and hence qualify for being an RDBMS or even ANSI SQL compatibility ? PostgreSQL, FireBird and SAP db strive to be full-fledged SQL DBMSs. But SQL is not relational. Pardon ? if ANSI SQL standard is not documenting an RDBMS, what is then relational ? |
|
Where can I get more information about FireBird, SAP db ? |
|
What is the main differences between Oracle, MySQL and PostGres ? |
|
I sometimes believe that MySQL has to be combined with another Language, in order to be an RDBMS, |
|
Yours sincerely Morten Gulbrandsen |
#6
| ||||||
| ||||||
|
|
Hello, I have only read Elmasri/Navathe and I find it nearly impossible to implement any non-trivial Enhanced Entity relationship diagram in MySQL, according to the mailing list, important foreign key constraints are not supported, |
|
RESTRICT}] [ON UPDATE {CASCADE | SET NULL | NO ACTION RESTRICT}] |
|
=== "Morten Gulbrandsen" <mgu (AT) owi-aachen (DOT) de> wrote: .... It is the most popular SQL server, so I can start to believe that alone MySQL is no RDBMS, unless it is combined with another programming language, Is this true ? From Elmasri: To qualify as a genuine relational DBMS, a system must have at least the following properties: 1.) It must store data as relations such that each column is independently identified by its column name and the ordering of rows is immaterial. |
|
2.) The operations available to the user, as well as those used internally by the system, should be true relational operations; that is, they should be able to generate new relations from old relations. |
|
3.) The system must support at least one variant of the JOIN operation. |
|
Yours Sincerely Morten Gulbrandsen |
#7
| |||
| |||
|
|
Em Thu, 21 Aug 2003 01:16:04 -0700, Morten Gulbrandsen escreveu: Which open source products can offer this and hence qualify for being an RDBMS or even ANSI SQL compatibility ? PostgreSQL, FireBird and SAP db strive to be full-fledged SQL DBMSs. |
|
But SQL is not relational. -- _ Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34 / \ http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34 \ / Responda à lista, não a mim diretamente! +55 (11) 5686 2219 / \ Dê nota se ajudei: http://svcs.affero.net/rm.php?r=leandro |
#8
| |||
| |||
|
|
"Heikki Tuuri" <Heikki.Tuuri (AT) innodb (DOT) com> wrote in message news:0d12b.203$yu.178 (AT) read3 (DOT) inet.fi... Morten, "Morten Gulbrandsen" <Morten.Gulbrandsen (AT) rwth-aachen (DOT) de> kirjoitti viestissä news:60ca69db.0308210016.822e230 (AT) posting (DOT) google.com... Hello, .... From Elmasri: To qualify as a genuine relational DBMS, a system must have at least the following properties: 1.) It must store data as relations such that each column is independently identified by its column name and the ordering of rows is immaterial. This holds for MySQL. Are you saying that the following works with MySQL? select somecharfield name, someintfield id from sometable union select anotherintfield id, anothercharfield name from someothertable ; |
|
2.) The operations available to the user, as well as those used internally by the system, should be true relational operations; that is, they should be able to generate new relations from old relations. This holds for MySQL. Consider the following relation, AB: A B = = 1 1 1 2 1 3 Are you saying that the following statement results in a relation in MySQL? select A from AB ; |
|
3.) The system must support at least one variant of the JOIN operation. This holds for MySQL. Well, 1 out of 3 is better than none, I guess. |
#9
| |||
| |||
|
|
Anyone know how Elmasri and Navathe define a 'relation' in their book? Do they say that some SQL databases, like DB2 or Oracle are 'RDBMS'? |
|
Best regards, Heikki Tuuri |
#10
| |||
| |||
|
|
we can conclude that MySQL is 'Elmasri-Navathe-relational'. |
![]() |
| Thread Tools | |
| Display Modes | |
| |