Re: Foreign-key reference

2014-01-07 Thread Morgan Tocker
Ugh, that seems quite right. Now, why did they do that? It was added for compatibility. A separate specification is less convenient, and also less transparent. Please click "affects me" on http://bugs.mysql.com/bug.php?id=47771 - Morgan -- MySQL General Mailing List For list archives: ht

Re: Foreign-key reference

2014-01-07 Thread hsv
2014/01/06 14:24 -0500, Morgan Tocker You might be hitting: "Important The inline REFERENCES specifications where the references are defined as part of the column specification are silently ignored. MySQL only accepts REFERENCES clauses defined as part of a separate FOREIGN KEY specifi

Re: Foreign-key reference

2014-01-06 Thread Reindl Harald
Am 06.01.2014 18:21, schrieb h...@tbbs.net: > Are INNODB foreign-key references ignored in 5.6? why should they? http://www.catb.org/~esr/faqs/smart-questions.html#beprecise signature.asc Description: OpenPGP digital signature

Re: Foreign-key reference

2014-01-06 Thread Morgan Tocker
On 1/6/2014, 12:21 PM, h...@tbbs.net wrote: Are INNODB foreign-key references ignored in 5.6? You might be hitting: "Important The inline REFERENCES specifications where the references are defined as part of the column specification are silently ignored. MySQL only accepts REFERENCES clauses

Foreign-key reference

2014-01-06 Thread hsv
Are INNODB foreign-key references ignored in 5.6? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: enrror in foreign key reference

2004-11-25 Thread Heikki Tuuri
sday, November 25, 2004 12:03 PM Subject: enrror in foreign key reference Hello i'd like to converte this DDL for mysql ALTER TABLE MYTABLE_ROLE ADD ( FOREIGN KEY (LOGIN) REFERENCES MYTABLE_USER ) ; i wrote ALTER TABLE MYTABLE_ROLE ADD

Re: enrror in foreign key reference

2004-11-25 Thread Victor Pendleton
Is there an index on the column in the table referenced? F.Balicchia wrote: Hello i'd like to converte this DDL for mysql ALTER TABLE MYTABLE_ROLE ADD ( FOREIGN KEY (LOGIN) REFERENCES MYTABLE_USER ) ; i wrote ALTER TABLE MYTABLE_ROLE ADD FOREIGN

enrror in foreign key reference

2004-11-25 Thread F.Balicchia
Hello i'd like to converte this DDL for mysql ALTER TABLE MYTABLE_ROLE ADD ( FOREIGN KEY (LOGIN) REFERENCES MYTABLE_USER ) ; i wrote ALTER TABLE MYTABLE_ROLE ADD FOREIGN KEY (LOGIN) REFERENCES MYTABLE_USER ; by it return me this error. #1005

RE: Foreign Key Reference to a VARCHAR

2004-02-10 Thread Sven Woltmann
Sven > -Original Message- > From: Jochem van Dieten [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 10. Februar 2004 15:29 > To: Heikki Tuuri > Cc: [EMAIL PROTECTED] > Subject: Re: Foreign Key Reference to a VARCHAR > > Heikki Tuuri wrote: > > > > I guess that 4

Re: Foreign Key Reference to a VARCHAR

2004-02-10 Thread Jochem van Dieten
Heikki Tuuri wrote: I guess that 4-byte UTF8 characters are not needed. You can code 16 million characters with 3 bytes. Yes. But is that also the case if you use the UTF-8 encoding scheme, or can that scheme code less characters with 3 bytes? http://ln.hixie.ch/?start=1064324988&order=-1&count=1

Re: Foreign Key Reference to a VARCHAR

2004-02-10 Thread Heikki Tuuri
languages on Earth. Thank you, Heikki - Alkuperäinen viesti - Lähettäjä: "Sven Woltmann" <[EMAIL PROTECTED]> Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Lähetetty: Tuesday, February 10, 2004 3:53 PM Aihe: RE: Foreign Key Reference

RE: Foreign Key Reference to a VARCHAR

2004-02-10 Thread Sven Woltmann
ks again, Sven > -Original Message- > From: Heikki Tuuri [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 10. Februar 2004 14:19 > To: [EMAIL PROTECTED] > Subject: Re: Foreign Key Reference to a VARCHAR > > Sven, > > are you using the UTF8 charset? Then a single chara

Re: Foreign Key Reference to a VARCHAR

2004-02-10 Thread Heikki Tuuri
anything on this. I was trying for a couple of hours now to create a foreign key reference on a varchar field: CREATE TABLE users ( loginVARCHAR(20) NOT NULL, password VARCHAR(20) NOT NULL, email_addressVARCHAR(100) NOT NULL, -

Foreign Key Reference to a VARCHAR

2004-02-09 Thread Sven Woltmann
Hi, I hope this is not a well known problem since I just signed up to this list. But I checked the February archive and couldn't find anything on this. I was trying for a couple of hours now to create a foreign key reference on a varchar field: CREATE TABLE users (