MySQL Forums
Forum List  »  InnoDB

Re: sql works under 5.0.51a but not under 5.1
Posted by: William Chiquito
Date: December 28, 2008 10:19AM

Hi landon,

Try for example:

/* alter table customers add constraint hasrep foreign key (cust_rep) references salesreps on delete no action; */

alter table customers add constraint hasrep foreign key (cust_rep) references salesreps (empl_num) on delete no action;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: sql works under 5.0.51a but not under 5.1
1958
December 28, 2008 10:19AM


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.