Click here to Skip to main content
15,905,682 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL:Problem in dynamic sql query Pin
Mycroft Holmes28-Aug-09 0:45
professionalMycroft Holmes28-Aug-09 0:45 
QuestionPlease suggest Pin
ME_Learner27-Aug-09 20:25
ME_Learner27-Aug-09 20:25 
AnswerRe: Please suggest Pin
Mycroft Holmes28-Aug-09 0:50
professionalMycroft Holmes28-Aug-09 0:50 
AnswerConsider Data Partioning Pin
David Mujica28-Aug-09 2:48
David Mujica28-Aug-09 2:48 
Question## in sql server..? Pin
DIPAK@EMSYS27-Aug-09 19:57
DIPAK@EMSYS27-Aug-09 19:57 
AnswerRe: ## in sql server..? Pin
Ashfield27-Aug-09 20:56
Ashfield27-Aug-09 20:56 
AnswerRe: ## in sql server..? Pin
Coding C#28-Aug-09 1:58
Coding C#28-Aug-09 1:58 
Questiondesign questions - tables to support users Pin
Kimmmmy27-Aug-09 9:58
Kimmmmy27-Aug-09 9:58 
I am running into a problem and need another set of eyes.
I am in the middle of building a database to support logins to my website (username & password)
There will be different roles with different persmissions.
Certain roles will have corresponding content in other tables.

For example I have a buyer table, I also have a buyer role.

Then I have a memberrep table that contains a record for anyone who can login to the system.
One table for all logins - no mater the role.


I need to connect a single buyer to a single login in the memberrep table.
I will have the same issue with the sellers and the salesreps. Each will have a one to one relation to a record in the memberep table.

Am I better off linking directly to the table without the 3rd table?

Or can I simply add the 3 or 4 columns into the memberrep table like buyerID, sellerID, salesrepID, ect.
And then only populate the ID of the login that relates to the external table?
I am at a loss here.. Is there another way to make this work?




Here is a screen shot of what I have already.
Any issues jump right out?

http://i654.photobucket.com/albums/uu269/squeakita/dbs/gpMemberstables.jpg[^]

Any suggestions?
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 
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 

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.