× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Using this as a start:
CREATE OR REPLACE TABLE rob.CustomerGroup(
CompanyId INTEGER NOT NULL,
GroupId Integer not null,
GroupDescription VARCHAR(100) ALLOCATE(20),
primary key (CompanyId, GroupId));

CREATE OR REPLACE TABLE rob.Customer(
CompanyId INTEGER NOT NULL,
Account# Integer not null,
GroupId Integer not null,
primary key (CompanyId, Account#));

I tried to go into http://myibmi:2001 and use the GUI in there to select
multiple keys. I cannot get some of the checking to work. It doesn't
seem to respond to my clicking on it.
Since it's not my problem I won't open a pmr on it but I recommend you do
so.

A work around is to use Run SQL scripts and try this:
alter table rob.Customer
add foreign key(CompanyId, GroupId)
references rob.CustomerGroup (CompanyId, GroupId)
on delete no action
on update no action
;

BCCing you an image which the list will strip off.



Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.