Click here to Skip to main content
15,949,686 members
Home / Discussions / Database
   

Database

 
GeneralRe: New SQLite Management Program Pin
PIEBALDconsult3-Nov-14 12:48
mvePIEBALDconsult3-Nov-14 12:48 
QuestionSSRS across Internet Pin
JM7631-Oct-14 6:52
JM7631-Oct-14 6:52 
QuestionRe: SSRS across Internet Pin
GuyThiebaut3-Nov-14 1:43
professionalGuyThiebaut3-Nov-14 1:43 
AnswerRe: SSRS across Internet Pin
JM763-Nov-14 5:52
JM763-Nov-14 5:52 
GeneralRe: SSRS across Internet Pin
GuyThiebaut3-Nov-14 6:12
professionalGuyThiebaut3-Nov-14 6:12 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen3-Nov-14 8:14
professionalEddy Vluggen3-Nov-14 8:14 
GeneralRe: SSRS across Internet Pin
JM765-Nov-14 0:25
JM765-Nov-14 0:25 
GeneralRe: SSRS across Internet Pin
JM7610-Nov-14 6:02
JM7610-Nov-14 6:02 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen10-Nov-14 8:12
professionalEddy Vluggen10-Nov-14 8:12 
GeneralRe: SSRS across Internet Pin
JM7610-Nov-14 8:23
JM7610-Nov-14 8:23 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen11-Nov-14 0:31
professionalEddy Vluggen11-Nov-14 0:31 
GeneralRe: SSRS across Internet Pin
JM7611-Nov-14 6:58
JM7611-Nov-14 6:58 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen11-Nov-14 7:52
professionalEddy Vluggen11-Nov-14 7:52 
GeneralRe: SSRS across Internet Pin
JM7612-Nov-14 20:56
JM7612-Nov-14 20:56 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen13-Nov-14 5:41
professionalEddy Vluggen13-Nov-14 5:41 
QuestionSSIS package Pin
Sachin Malviya31-Oct-14 6:01
Sachin Malviya31-Oct-14 6:01 
GeneralRe: SSIS package Pin
PIEBALDconsult31-Oct-14 6:03
mvePIEBALDconsult31-Oct-14 6:03 
GeneralRe: SSIS package Pin
Richard Deeming31-Oct-14 6:18
mveRichard Deeming31-Oct-14 6:18 
GeneralRe: SSIS package Pin
PIEBALDconsult31-Oct-14 6:33
mvePIEBALDconsult31-Oct-14 6:33 
QuestionLink to Microsoft Virtual System Pin
Shweta N Mishra31-Oct-14 3:41
professionalShweta N Mishra31-Oct-14 3:41 
AnswerRe: Link to Microsoft Virtual System Pin
Vijay Gill31-Oct-14 3:47
professionalVijay Gill31-Oct-14 3:47 
GeneralRe: Link to Microsoft Virtual System Pin
Shweta N Mishra31-Oct-14 5:21
professionalShweta N Mishra31-Oct-14 5:21 
QuestionUncertain on What to Use as Foreign Key of a Table Pin
ASPnoob30-Oct-14 5:19
ASPnoob30-Oct-14 5:19 
Hi all, I am trying to design a database to hold data for a job portal. Basically I have a database called SiteUsers which contains five tables (UsersTable, JobSeekersTable, ResumesTable, EmployersTable, and JobsTable). The following are the table schema for UsersTable, ResumesTable, and JobsTable.

The UsersTable has a Primary Key (PK) of UserID and a Foreign Key (FK) of Username.
The ResumesTable has a PK of ResumeID and the JobsTable has a PK of JobID.
The JobSeekersTable has a PK of Username.
The EmployersTable has a PK of Username.

The question I have is should the JobSeekersTable FK also be Username, or ResumeID, or a composite of Username and ResumeID. I think that the FK should be Username because it's unique but because it's not the primary key of the JobsTable I am uncertain. Also I did not want to use ResumeID as the FK in the JobSeekersTable because although it will be unique a job seeker can have more than one resume.

Whether you agree or disagree with my assumption that Username should be the PK and FK in the JobSeekersTable, please elaborate your answer . Thanks in advance for your help.

modified 30-Oct-14 12:35pm.

GeneralRe: Uncertain on What to Use as Foreign Key of a Table Pin
PIEBALDconsult30-Oct-14 5:59
mvePIEBALDconsult30-Oct-14 5:59 
AnswerRe: Uncertain on What to Use as Foreign Key of a Table Pin
Eddy Vluggen30-Oct-14 6:08
professionalEddy Vluggen30-Oct-14 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.