Gossamer Forum
Quote Reply
UNIQUE
Hi,

I know how to make a field in a table UNIQUE, but have no clue if it's possible to make 1 field on two (!)tables UNIQUE and how to do this!

For example make sure the are no duplicates in the "login" data (= username) so never ever a client will login and get - by accident - the stuff of the supllier with the same login. Putting everything in one table would be a solution, however my current cms-system can't handle this.

client_id | username | password | more clients stuff...
supplier_id |username | password | more supllier stuff...
Subject Author Views Date
Thread UNIQUE cK 8814 Jun 5, 2003, 1:54 AM
Thread Re: [cK] UNIQUE
Andy 8686 Jun 5, 2003, 2:41 AM
Thread Re: [Andy] UNIQUE
cK 8685 Jun 5, 2003, 4:38 AM
Post Re: [cK] UNIQUE
Stealth 8591 Jun 5, 2003, 7:23 AM