Click here to Skip to main content
16,011,685 members
Home / Discussions / Database
   

Database

 
Generalmsado15.dll missing Pin
Lockhart26-Mar-02 10:34
Lockhart26-Mar-02 10:34 
GeneralRe: msado15.dll missing Pin
funbag27-Mar-02 4:47
funbag27-Mar-02 4:47 
GeneralRe: msado15.dll missing Pin
funbag27-Mar-02 4:52
funbag27-Mar-02 4:52 
GeneralRe: msado15.dll missing Pin
Lockhart27-Mar-02 5:42
Lockhart27-Mar-02 5:42 
GeneralDatabase Design Question Pin
Schalk26-Mar-02 9:00
Schalk26-Mar-02 9:00 
GeneralRe: Database Design Question Pin
Carlos Antollini26-Mar-02 9:12
Carlos Antollini26-Mar-02 9:12 
GeneralRe: Database Design Question Pin
Carlos Antollini26-Mar-02 9:12
Carlos Antollini26-Mar-02 9:12 
GeneralRe: Database Design Question Pin
Schalk26-Mar-02 18:34
Schalk26-Mar-02 18:34 
Carlos,
That was one of the options that I was considering. The problem that I have with that is the three tables. I think bosses, managers and salesman are all the same thing (employees). I was thinking of doing it like this:

Create a table called EMPLOYEE and another table called CLIENT. Every employee in the EMPLOYEE table will have a level. (This will indicate whether he is a boss, manager or a salesman) Now create to association tables called MANAGERBOSSACCOS and SALESMANMANAGERACCOS. These two tables can now be used to indicate the hierarchy. Like this:

EMPLOYEE
EMP_ID EMP_NAME
1 Boss1
2 Boss2
3 Manager1
4 Manager2
5 Manager3
6 Salesman1
7 Salesman2
8 Salesman3

MANAGERBOSSACCOS
BOSS_ID MANAGER_ID
1 3
1 4
2 5

SALESMANMANAGERACCOS
MANAGER_ID SALESMAN_ID
3 6
4 7
5 8


What do you think of this design?
Smile | :)
GeneralRe: Database Design Question Pin
Carlos Antollini27-Mar-02 2:43
Carlos Antollini27-Mar-02 2:43 
GeneralRe: Database Design Question Pin
Schalk27-Mar-02 3:25
Schalk27-Mar-02 3:25 
QuestionHow to send mass-mailing? Pin
Trieu Nguyen26-Mar-02 0:02
Trieu Nguyen26-Mar-02 0:02 
AnswerRe: How to send mass-mailing? Pin
Christopher Lord31-Mar-02 21:41
Christopher Lord31-Mar-02 21:41 
GeneralRe: How to send mass-mailing? Pin
Trieu Nguyen31-Mar-02 22:52
Trieu Nguyen31-Mar-02 22:52 
GeneralAND/OR Pin
Mazdak25-Mar-02 1:57
Mazdak25-Mar-02 1:57 
GeneralRe: AND/OR Pin
Mazdak25-Mar-02 4:14
Mazdak25-Mar-02 4:14 
GeneralRe: AND/OR Pin
Philip Patrick29-Mar-02 2:23
professionalPhilip Patrick29-Mar-02 2:23 
GeneralRe: AND/OR Pin
Mazdak29-Mar-02 8:44
Mazdak29-Mar-02 8:44 
GeneralDuplicated Value Pin
Mazdak23-Mar-02 20:15
Mazdak23-Mar-02 20:15 
GeneralRe: Duplicated Value Pin
Roger Wright23-Mar-02 20:21
professionalRoger Wright23-Mar-02 20:21 
GeneralRe: Duplicated Value Pin
Mazdak23-Mar-02 20:38
Mazdak23-Mar-02 20:38 
GeneralRe: Duplicated Value Pin
Roger Wright24-Mar-02 5:10
professionalRoger Wright24-Mar-02 5:10 
GeneralRe: Duplicated Value Pin
Mazdak24-Mar-02 6:29
Mazdak24-Mar-02 6:29 
GeneralRe: Duplicated Value Pin
James T. Johnson25-Mar-02 16:40
James T. Johnson25-Mar-02 16:40 
GeneralRe: Duplicated Value Pin
Mazdak25-Mar-02 19:35
Mazdak25-Mar-02 19:35 
GeneralProblem using a Parameterized Command as the Select Command for a Data Adapter Pin
Paulo23-Mar-02 7:17
Paulo23-Mar-02 7:17 

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.