Click here to Skip to main content
16,005,241 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to Upload a database to a provider? Pin
Mike Ellison9-Feb-06 5:56
Mike Ellison9-Feb-06 5:56 
QuestionCreate Database in SQL Server 2000 from scratch in VB.NET? Pin
Iftikhar Ali8-Feb-06 7:48
Iftikhar Ali8-Feb-06 7:48 
AnswerRe: Create Database in SQL Server 2000 from scratch in VB.NET? Pin
Mike Ellison8-Feb-06 8:34
Mike Ellison8-Feb-06 8:34 
GeneralRe: Create Database in SQL Server 2000 from scratch in VB.NET? Pin
Iftikhar Ali9-Feb-06 4:52
Iftikhar Ali9-Feb-06 4:52 
GeneralRe: Create Database in SQL Server 2000 from scratch in VB.NET? Pin
Mike Ellison9-Feb-06 5:27
Mike Ellison9-Feb-06 5:27 
AnswerRe: Create Database in SQL Server 2000 from scratch in VB.NET? Pin
Iftikhar Ali9-Feb-06 19:28
Iftikhar Ali9-Feb-06 19:28 
QuestionCreating tables\database design Pin
TheJudeDude8-Feb-06 7:01
TheJudeDude8-Feb-06 7:01 
AnswerRe: Creating tables\database design Pin
Mike Ellison8-Feb-06 8:42
Mike Ellison8-Feb-06 8:42 
Well, for good relational design, a good rule of thumb is to have separate tables for different subjects of data. An "Employee" is one subject, so you would have a table "Employees", and in that table an "EmployeeID" field that uniquely identifies any given record.

What is the other subject of data you are dealing with here? Is "TimeCard" the subject? Would "TimeCardEntry" be still another subject?

Maybe "TimeCard" would have fields like "TimeCardID", "EmployeeID" (to associate a single time card to a single employee), "SubmittedOn", "ApprovedBy", that sort of thing. Perhaps "TimeCardEntry" would have fields like "TimeCardID" (to associate back to a single time card), "StartingWorkDateTime", "EndingWorkDateTime", etc...

The display of data out of this kind of relational structure would then involve queries that join the three tables.

GeneralRe: Creating tables\database design Pin
TheJudeDude8-Feb-06 9:50
TheJudeDude8-Feb-06 9:50 
GeneralRe: Creating tables\database design Pin
Mike Ellison8-Feb-06 10:56
Mike Ellison8-Feb-06 10:56 
GeneralRe: Creating tables\database design Pin
TheJudeDude8-Feb-06 11:28
TheJudeDude8-Feb-06 11:28 
GeneralRe: Creating tables\database design Pin
Mike Ellison8-Feb-06 12:52
Mike Ellison8-Feb-06 12:52 
GeneralRe: Creating tables\database design Pin
TheJudeDude8-Feb-06 13:07
TheJudeDude8-Feb-06 13:07 
GeneralRe: Creating tables\database design Pin
Mike Ellison8-Feb-06 13:18
Mike Ellison8-Feb-06 13:18 
GeneralRe: Creating tables\database design Pin
TheJudeDude8-Feb-06 13:23
TheJudeDude8-Feb-06 13:23 
GeneralRe: Creating tables\database design Pin
Mike Ellison8-Feb-06 13:45
Mike Ellison8-Feb-06 13:45 
GeneralRe: Creating tables\database design Pin
TheJudeDude8-Feb-06 14:28
TheJudeDude8-Feb-06 14:28 
GeneralRe: Creating tables\database design Pin
Mike Ellison8-Feb-06 16:14
Mike Ellison8-Feb-06 16:14 
GeneralRe: Creating tables\database design Pin
TheJudeDude8-Feb-06 16:46
TheJudeDude8-Feb-06 16:46 
GeneralRe: Creating tables\database design Pin
Mike Ellison9-Feb-06 3:28
Mike Ellison9-Feb-06 3:28 
GeneralRe: Creating tables\database design Pin
TheJudeDude9-Feb-06 7:07
TheJudeDude9-Feb-06 7:07 
GeneralRe: Creating tables\database design Pin
Mike Ellison9-Feb-06 7:11
Mike Ellison9-Feb-06 7:11 
GeneralRe: Creating tables\database design Pin
TheJudeDude9-Feb-06 8:13
TheJudeDude9-Feb-06 8:13 
GeneralRe: Creating tables\database design Pin
TheJudeDude9-Feb-06 9:12
TheJudeDude9-Feb-06 9:12 
QuestionDifference between two tables!!! Pin
Small Rat8-Feb-06 6:22
Small Rat8-Feb-06 6:22 

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.