MySQL Forums
Forum List  »  Italian

Re: Foreign keys
Posted by: Maria Luigia Nitti
Date: November 16, 2007 12:32PM

create table INDIRIZZO (
MATR_IND char (6) primary key,
NOME varchar (60) NOT NULL,
CIVICO INTEGER unsigned NOT NULL,
UNIQUE (NOME, CIVICO)
) TYPE=INNODB;

Per poter definire le FOREIGN KEY le tabelle devono essere dichiarate INNODB.

Ciao

Options: ReplyQuote


Subject
Views
Written By
Posted
9998
October 08, 2007 08:18AM
3679
October 19, 2007 04:53AM
Re: Foreign keys
3484
November 16, 2007 12:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.