Re: advice on using default sets of information please
Date: Mon, 08 Nov 2004 13:50:30 -0500
Message-ID: <mor462-l21.ln1_at_pluto.downsfam.net>
Neil wrote:
>
> CREATE TABLE Client(
> ClientID NUMERIC NOT NULL PRIMARY KEY,
> Name CHAR(90) NOT NULL);
>
> CREATE TABLE Service(
> Code VARCHAR(2) NOT NULL PRIMARY KEY,
> Name VARCHAR(40) NOT NULL);
>
> CREATE TABLE ClientService(
> ClientID NUMERIC NOT NULL,
> Code VARCHAR(2) NOT NULL,
> FOREIGN KEY (ClientID ) REFERENCES Client (ClientID ),
> FOREIGN KEY (Code) REFERENCES Service (Code),
> PRIMARY KEY (ClientID ,Code));
>
Neil, you are missing a few definitions, but you are basically on the right track.
First question, is the default template applied when a client signs on, and then you go forward from there, or do changes to the default propagate to existing clients? This is not clear from your post.
This is off the top of my head, but should get the idea across. The 'F' as mask from DefaultClientService means De"F"ault.
-- Kenneth Downs Use first initial plus last name at last name plus literal "fam.net" to email meReceived on Mon Nov 08 2004 - 19:50:30 CET