Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 E-mail documents schema design

Author  Topic 

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2005-11-09 : 17:46:20
I've been assigned a project, and it's a bit of new territory to me.

Here's what I have to do:
1. Design a project that allows users to select documents to have mailed to them on a regular basis

What I was thinking was a three table design:
Parent table:
1. PK integer
2. string column with e-mail address

Child table [Document]:
1. PK integer
2. Document stored in this column

Child table [DocSelected]...or something like this:
1. PK integer / FK for linking to parent table PK
2. PK integer / FK for linking to chilc table [Document]

I'm thinking this way if there are more documents added, I only have to udpate the [Document] table

Should I use [DocSelected] as a join table?

Thanks....any suggestions are welcome!
   

- Advertisement -