Click here to Skip to main content
15,891,184 members
Home / Discussions / Database
   

Database

 
GeneralRe: adding SET NOCOUNT ON to large number of stored procedures Pin
T21022-Dec-09 3:15
T21022-Dec-09 3:15 
QuestionCan't define full-text index in Microsoft Sql Server 2008 Pin
fiaolle26-Nov-09 8:50
fiaolle26-Nov-09 8:50 
AnswerRe: Can't define full-text index in Microsoft Sql Server 2008 Pin
The Man from U.N.C.L.E.26-Nov-09 11:26
The Man from U.N.C.L.E.26-Nov-09 11:26 
GeneralRe: Can't define full-text index in Microsoft Sql Server 2008 Pin
fiaolle26-Nov-09 20:04
fiaolle26-Nov-09 20:04 
QuestionADO question moved to .NET forum Pin
T210225-Nov-09 19:58
T210225-Nov-09 19:58 
AnswerWrong Forum Pin
dan!sh 25-Nov-09 20:05
professional dan!sh 25-Nov-09 20:05 
Questiontable normalization Pin
netJP12L25-Nov-09 18:47
netJP12L25-Nov-09 18:47 
AnswerRe: table normalization Pin
_Damian S_25-Nov-09 19:02
professional_Damian S_25-Nov-09 19:02 
Generally speaking, each data item (that is not a primary or foreign key) should only appear in one table, otherwise you will have referential integrity issues.

Course table - looks fine.

Instructor table - looks fine.

Class table - Probably doesn't need a composite key between ClassCode and CourseCode, however I assume InstrName is the Instructor name - this doesn't need to be in there, as it's in the Instructor Table.

Enrollment table - Students enrol in a class. You probably need a StudentNumber and a ClassCode, and a Grade. This of course depends on changes you make to your class table.

Add a Student table in - StudentNumber, StudentName etc etc.

Hope this points you in the right direction.


AnswerRe: table normalization Pin
Mycroft Holmes25-Nov-09 22:32
professionalMycroft Holmes25-Nov-09 22:32 
GeneralRe: table normalization Pin
Jörgen Andersson26-Nov-09 1:17
professionalJörgen Andersson26-Nov-09 1:17 
GeneralRe: table normalization Pin
Mycroft Holmes26-Nov-09 12:17
professionalMycroft Holmes26-Nov-09 12:17 
GeneralRe: table normalization [modified] Pin
netJP12L26-Nov-09 5:18
netJP12L26-Nov-09 5:18 
GeneralRe: table normalization Pin
The Man from U.N.C.L.E.26-Nov-09 11:24
The Man from U.N.C.L.E.26-Nov-09 11:24 
GeneralRe: table normalization Pin
Mycroft Holmes26-Nov-09 12:13
professionalMycroft Holmes26-Nov-09 12:13 
QuestionBuilding an SQL Statement in a stored procedure Pin
Paul McGann25-Nov-09 6:32
professionalPaul McGann25-Nov-09 6:32 
AnswerRe: Building an SQL Statement in a stored procedure Pin
Shameel25-Nov-09 7:59
professionalShameel25-Nov-09 7:59 
AnswerRe: Building an SQL Statement in a stored procedure Pin
Shameel25-Nov-09 8:01
professionalShameel25-Nov-09 8:01 
AnswerRe: Building an SQL Statement in a stored procedure Pin
Mycroft Holmes25-Nov-09 13:21
professionalMycroft Holmes25-Nov-09 13:21 
GeneralRe: Building an SQL Statement in a stored procedure Pin
Paul McGann25-Nov-09 21:43
professionalPaul McGann25-Nov-09 21:43 
QuestionStart records from Specific Number Pin
Gandalf_TheWhite25-Nov-09 4:04
professionalGandalf_TheWhite25-Nov-09 4:04 
AnswerRe: Start records from Specific Number Pin
Abhijit Jana25-Nov-09 4:36
professionalAbhijit Jana25-Nov-09 4:36 
GeneralRe: Start records from Specific Number Pin
Gandalf_TheWhite25-Nov-09 21:53
professionalGandalf_TheWhite25-Nov-09 21:53 
GeneralRe: Start records from Specific Number Pin
Abhijit Jana25-Nov-09 22:03
professionalAbhijit Jana25-Nov-09 22:03 
AnswerRe: Start records from Specific Number Pin
Shameel25-Nov-09 4:55
professionalShameel25-Nov-09 4:55 
GeneralRe: Start records from Specific Number Pin
Gandalf_TheWhite25-Nov-09 21:56
professionalGandalf_TheWhite25-Nov-09 21:56 

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.