Click here to Skip to main content
15,894,740 members
Home / Discussions / Database
   

Database

 
GeneralRe: return identity.. Pin
Dio223-Oct-07 3:35
Dio223-Oct-07 3:35 
QuestionAny way to retrieve the creation date of a row in a SQL Table Pin
Anurag Gandhi3-Oct-07 0:05
professionalAnurag Gandhi3-Oct-07 0:05 
AnswerRe: Any way to retrieve the creation date of a row in a SQL Table Pin
Pete O'Hanlon3-Oct-07 0:24
mvePete O'Hanlon3-Oct-07 0:24 
QuestionOnline Exam Application Pin
Sunitha Sudheesh3-Oct-07 0:04
Sunitha Sudheesh3-Oct-07 0:04 
AnswerRe: Online Exam Application Pin
Joe3-Oct-07 0:23
Joe3-Oct-07 0:23 
AnswerRe: Online Exam Application Pin
Pete O'Hanlon3-Oct-07 0:30
mvePete O'Hanlon3-Oct-07 0:30 
GeneralRe: Online Exam Application Pin
gupthakrishna3-Oct-07 10:52
gupthakrishna3-Oct-07 10:52 
QuestionDid I do a bad database design? Pin
Rohde2-Oct-07 23:25
Rohde2-Oct-07 23:25 
I would like some opinions on my database design. I'm running into some problems and I'm afraid I've made some bad choices regarding the table design.

In my database I have information on five different kind of users (among many other things). With the exception of two types of users, all of them are very different and have very different kind of information associated with them. Therefore I though it best to put each kind of user in a separate table.

So I have for instance a table called administrators, a table called translators, etc. etc. The problem is that sometimes I end up with a foreign key from some other table. I know the key is for a user but to get the actual user I need to either do some expensive JOINs, or use stored procedures where I can put some logic, etc. etc. Bottom line is that since a user are in one of five tables depending on which kind of user he/she is it's difficult retrieve the information.

I have thus started to wonder that maybe it would be best to keep all users in one big table although there would be many empty columns since many columns are only for one or two types of users.

Anyway, I would like some info and opinion on this - whadda you say?




"When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."

-Atlas Shrugged, Ayn Rand

AnswerRe: Did I do a bad database design? Pin
Suaysh Andhare3-Oct-07 0:03
Suaysh Andhare3-Oct-07 0:03 
AnswerRe: Did I do a bad database design? Pin
PIEBALDconsult3-Oct-07 4:48
mvePIEBALDconsult3-Oct-07 4:48 
GeneralRe: Did I do a bad database design? Pin
Rohde3-Oct-07 7:37
Rohde3-Oct-07 7:37 
GeneralRe: Did I do a bad database design? Pin
DQNOK4-Oct-07 4:46
professionalDQNOK4-Oct-07 4:46 
QuestionUsing ADO in VC++ Pin
Jackson862-Oct-07 19:49
Jackson862-Oct-07 19:49 
AnswerRe: Using ADO in VC++ Pin
Ilya Verbitskiy3-Oct-07 5:23
Ilya Verbitskiy3-Oct-07 5:23 
GeneralRe: Using ADO in VC++ Pin
Jackson863-Oct-07 19:32
Jackson863-Oct-07 19:32 
QuestionConcatenating Sql queries Pin
falles012-Oct-07 14:55
falles012-Oct-07 14:55 
AnswerRe: Concatenating Sql queries Pin
Christian Graus2-Oct-07 15:37
protectorChristian Graus2-Oct-07 15:37 
GeneralRe: Concatenating Sql queries Pin
falles012-Oct-07 15:42
falles012-Oct-07 15:42 
GeneralRe: Concatenating Sql queries Pin
falles012-Oct-07 15:53
falles012-Oct-07 15:53 
GeneralRe: Concatenating Sql queries Pin
Christian Graus2-Oct-07 16:46
protectorChristian Graus2-Oct-07 16:46 
GeneralRe: Concatenating Sql queries Pin
falles013-Oct-07 13:57
falles013-Oct-07 13:57 
QuestionBackup Pin
mehrdadc482-Oct-07 7:28
mehrdadc482-Oct-07 7:28 
AnswerRe: Backup Pin
Paul Conrad2-Oct-07 10:22
professionalPaul Conrad2-Oct-07 10:22 
QuestionSQL interception on client workstation. Pin
LinCorJDE2-Oct-07 2:39
LinCorJDE2-Oct-07 2:39 
AnswerRe: SQL interception on client workstation. Pin
Colin Angus Mackay2-Oct-07 2:44
Colin Angus Mackay2-Oct-07 2:44 

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.