Click here to Skip to main content
15,888,816 members
Home / Discussions / Database
   

Database

 
GeneralRe: how we can use stored proceder with asp.net Pin
Colin Angus Mackay16-Mar-07 23:50
Colin Angus Mackay16-Mar-07 23:50 
Questioncopy data between 2 instances Pin
Ista16-Mar-07 2:35
Ista16-Mar-07 2:35 
AnswerRe: copy data between 2 instances Pin
kubben16-Mar-07 2:43
kubben16-Mar-07 2:43 
GeneralRe: copy data between 2 instances Pin
Ista16-Mar-07 3:08
Ista16-Mar-07 3:08 
GeneralRe: copy data between 2 instances Pin
kubben16-Mar-07 3:21
kubben16-Mar-07 3:21 
GeneralRe: copy data between 2 instances Pin
Colin Angus Mackay16-Mar-07 3:38
Colin Angus Mackay16-Mar-07 3:38 
QuestionMultiple User tables? Pin
kbalias16-Mar-07 1:41
kbalias16-Mar-07 1:41 
AnswerRe: Multiple User tables? Pin
N a v a n e e t h16-Mar-07 1:50
N a v a n e e t h16-Mar-07 1:50 
kbalias wrote:
Would you have separate tables for students, teachers and administrators, each with columns for username and password or one Users table with all the info including usernames and passwords?


I prefer to use single table with all info


kbalias wrote:
The problem is then that teachers and students may have different information that is captured for the database.


Add one column in the user table for identifying the user type. It can be something like user_type and store the user type in that colunmn



string Cheers = "Navaneeth!!"

www.w3hearts.com

GeneralRe: Multiple User tables? Pin
Pete O'Hanlon16-Mar-07 2:13
mvePete O'Hanlon16-Mar-07 2:13 
AnswerRe: Multiple User tables? Pin
LongRange.Shooter16-Mar-07 7:51
LongRange.Shooter16-Mar-07 7:51 
Questionconverting Pin
topcatalpha16-Mar-07 1:07
topcatalpha16-Mar-07 1:07 
AnswerRe: converting Pin
topcatalpha16-Mar-07 1:26
topcatalpha16-Mar-07 1:26 
AnswerRe: converting Pin
Mike Dimmick16-Mar-07 2:17
Mike Dimmick16-Mar-07 2:17 
GeneralRe: converting Pin
topcatalpha16-Mar-07 2:47
topcatalpha16-Mar-07 2:47 
GeneralRe: converting Pin
topcatalpha19-Mar-07 1:33
topcatalpha19-Mar-07 1:33 
QuestionEmbedding Reports Within a cell !!! Pin
fulbright15-Mar-07 20:46
fulbright15-Mar-07 20:46 
Questionhidden views in SQLServer Pin
Maira K15-Mar-07 20:06
Maira K15-Mar-07 20:06 
AnswerRe: hidden views in SQLServer Pin
coolestCoder16-Mar-07 2:00
coolestCoder16-Mar-07 2:00 
QuestionWrite SQL that will remove PK and set it to another column Pin
steve_rm15-Mar-07 18:23
steve_rm15-Mar-07 18:23 
AnswerRe: Write SQL that will remove PK and set it to another column Pin
Harini N K15-Mar-07 19:04
Harini N K15-Mar-07 19:04 
QuestionChange schema, without destroying the data Pin
steve_rm15-Mar-07 18:13
steve_rm15-Mar-07 18:13 
AnswerRe: Change schema, without destroying the data Pin
Mark J. Miller19-Mar-07 5:53
Mark J. Miller19-Mar-07 5:53 
Questionthe database has been placed in state by user "Admin" Pin
charleslau285515-Mar-07 15:39
charleslau285515-Mar-07 15:39 
QuestionCreating a SqlDbType.SmallDateTime parameter Pin
digsy_15-Mar-07 8:08
digsy_15-Mar-07 8:08 
AnswerRe: Creating a SqlDbType.SmallDateTime parameter Pin
Marcus J. Smith15-Mar-07 9:35
professionalMarcus J. Smith15-Mar-07 9:35 

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.