Click here to Skip to main content
15,922,427 members
Home / Discussions / Database
   

Database

 
AnswerRe: design questions - tables to support users Pin
Luc Pattyn27-Aug-09 10:57
sitebuilderLuc Pattyn27-Aug-09 10:57 
GeneralRe: design questions - tables to support users Pin
Kimmmmy27-Aug-09 12:04
Kimmmmy27-Aug-09 12:04 
Thanks for the reply. I am confusing myself - believe me.

I have a working user/role table setup that is here - the memberrep table is your person table. I've used this table design for many websites.


[^]

Independent of the login tables -(and this is where I get confused explaining what has to happen)
I have several other 'data' tables.

A buyer , who will be a buyer and have a login.
I want to relate the buyer to his user login.

I want to do the same with a seller (another similar but different table)

and yet a 3rd, salesrep.

In order for my buyer to login to the admin and see his data in the buyer table, I need to relate his buyer record to his login record.

I am considering adding the memberRepID to the buyer table - and then I will have the relation. But duplicate data (fname,lname,email,etc)

It's like it's calling me to create seperate login tables for each external 'content' type,


The buyer, seller and salesrep tables are not tables I am using to define the role.
does that make sense?
GeneralRe: design questions - tables to support users Pin
Luc Pattyn27-Aug-09 12:29
sitebuilderLuc Pattyn27-Aug-09 12:29 
GeneralRe: design questions - tables to support users Pin
Kimmmmy27-Aug-09 12:38
Kimmmmy27-Aug-09 12:38 
GeneralRe: design questions - tables to support users Pin
Mycroft Holmes27-Aug-09 14:34
professionalMycroft Holmes27-Aug-09 14:34 
GeneralRe: design questions - tables to support users Pin
Luc Pattyn27-Aug-09 15:25
sitebuilderLuc Pattyn27-Aug-09 15:25 
GeneralRe: design questions - tables to support users Pin
Mycroft Holmes27-Aug-09 16:04
professionalMycroft Holmes27-Aug-09 16:04 
Questionproblem:storing rtf formatted data into sql Pin
askhar51627-Aug-09 2:30
askhar51627-Aug-09 2:30 
AnswerRe: problem:storing rtf formatted data into sql Pin
εїзεїзεїз2-Sep-09 13:53
εїзεїзεїз2-Sep-09 13:53 
GeneralRe: problem:storing rtf formatted data into sql Pin
askhar5162-Sep-09 17:12
askhar5162-Sep-09 17:12 
Questionparent and child interbase query Pin
peter83126-Aug-09 20:28
peter83126-Aug-09 20:28 
AnswerRe: parent and child interbase query Pin
SeMartens26-Aug-09 20:38
SeMartens26-Aug-09 20:38 
GeneralRe: parent and child interbase query Pin
peter83126-Aug-09 21:04
peter83126-Aug-09 21:04 
GeneralRe: parent and child interbase query Pin
SeMartens26-Aug-09 21:09
SeMartens26-Aug-09 21:09 
GeneralRe: parent and child interbase query Pin
peter83126-Aug-09 21:19
peter83126-Aug-09 21:19 
GeneralRe: parent and child interbase query Pin
SeMartens26-Aug-09 21:25
SeMartens26-Aug-09 21:25 
GeneralRe: parent and child interbase query Pin
peter83126-Aug-09 21:37
peter83126-Aug-09 21:37 
GeneralRe: parent and child interbase query Pin
SeMartens26-Aug-09 21:43
SeMartens26-Aug-09 21:43 
GeneralRe: parent and child interbase query Pin
peter83126-Aug-09 21:42
peter83126-Aug-09 21:42 
GeneralRe: parent and child interbase query Pin
SeMartens26-Aug-09 21:45
SeMartens26-Aug-09 21:45 
GeneralRe: parent and child interbase query Pin
peter83126-Aug-09 21:52
peter83126-Aug-09 21:52 
GeneralRe: parent and child interbase query Pin
SeMartens26-Aug-09 22:04
SeMartens26-Aug-09 22:04 
GeneralRe: parent and child interbase query Pin
peter83126-Aug-09 22:13
peter83126-Aug-09 22:13 
QuestionSql query problem Pin
adkalavadia26-Aug-09 20:09
adkalavadia26-Aug-09 20:09 
AnswerRe: Sql query problem Pin
i.j.russell26-Aug-09 21:46
i.j.russell26-Aug-09 21:46 

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.