Click here to Skip to main content
15,901,122 members
Home / Discussions / Database
   

Database

 
QuestionSQL query to copy table from one database into another database Pin
ankswe22-Aug-08 19:24
ankswe22-Aug-08 19:24 
AnswerRe: SQL query to copy table from one database into another database Pin
Mycroft Holmes22-Aug-08 19:41
professionalMycroft Holmes22-Aug-08 19:41 
GeneralRe: SQL query to copy table from one database into another database Pin
Jerry Hammond23-Aug-08 7:37
Jerry Hammond23-Aug-08 7:37 
GeneralRe: SQL query to copy table from one database into another database Pin
Mycroft Holmes23-Aug-08 13:48
professionalMycroft Holmes23-Aug-08 13:48 
QuestionConnecting to custom database [modified] Pin
ASPnoob22-Aug-08 17:31
ASPnoob22-Aug-08 17:31 
AnswerRe: Connecting to custom database Pin
Mycroft Holmes22-Aug-08 19:47
professionalMycroft Holmes22-Aug-08 19:47 
QuestionExpansion advice Pin
David Kalkwarf22-Aug-08 16:16
David Kalkwarf22-Aug-08 16:16 
AnswerRe: Expansion advice Pin
FyreWyrm22-Aug-08 18:01
FyreWyrm22-Aug-08 18:01 
I'm not an expert, but I've seen systems similar to the one you're describing. For the sake of normalization I wouldn't put more fields into your Employee table. What you need is a mapping table. Since the tasks are not mutually exclusive you can create a table with a field for the employee's id and a field for the task id (assuming each task has it's own id in the tasks table). This way you can have multiple tasks per employee as each combination will just be an entry in this table. The only kicker is the attributes for the tasks. The only advice I can give on this one to have a generic "attributes" field in the Task table which contains the id of a special attribute from an Attributes table. This idea is still a little fuzzy though.

As for tables with one field, I believe those should be reserved for tables used as data sources for comboboxes. At the minimum, all tables should have two fields; id and item.

Does any of this make sense? It's late and I'm tired.
GeneralRe: Expansion advice Pin
David Kalkwarf23-Aug-08 5:35
David Kalkwarf23-Aug-08 5:35 
AnswerRe: Expansion advice Pin
Mycroft Holmes22-Aug-08 19:58
professionalMycroft Holmes22-Aug-08 19:58 
GeneralRe: Expansion advice Pin
David Kalkwarf23-Aug-08 5:09
David Kalkwarf23-Aug-08 5:09 
GeneralRe: Expansion advice Pin
Mycroft Holmes23-Aug-08 13:46
professionalMycroft Holmes23-Aug-08 13:46 
Questionhow to use SQL language to destroy SQL Server 2000 Pin
ChinaTJBoy22-Aug-08 14:43
ChinaTJBoy22-Aug-08 14:43 
AnswerRe: how to use SQL language to destroy SQL Server 2000 Pin
Blue_Boy22-Aug-08 14:50
Blue_Boy22-Aug-08 14:50 
RantRe: how to use SQL language to destroy SQL Server 2000 Pin
Paul Conrad22-Aug-08 19:26
professionalPaul Conrad22-Aug-08 19:26 
AnswerRe: how to use SQL language to destroy SQL Server 2000 Pin
Ravi Sant3-May-11 0:45
Ravi Sant3-May-11 0:45 
QuestionMy Virtual memory size is increasing when i am using Insert operation and select operation.which is leading to hang the system. Pin
pallaka22-Aug-08 4:58
pallaka22-Aug-08 4:58 
AnswerTransactions ? Pin
David Mujica22-Aug-08 5:47
David Mujica22-Aug-08 5:47 
GeneralRe: Transactions ? Pin
pallaka22-Aug-08 5:50
pallaka22-Aug-08 5:50 
GeneralRe: Transactions ? Pin
SomeGuyThatIsMe22-Aug-08 5:59
SomeGuyThatIsMe22-Aug-08 5:59 
GeneralRe: Transactions ? Pin
pallaka22-Aug-08 6:06
pallaka22-Aug-08 6:06 
GeneralRe: Transactions ? Pin
SomeGuyThatIsMe22-Aug-08 7:25
SomeGuyThatIsMe22-Aug-08 7:25 
JokeRe: Transactions ? Pin
Mycroft Holmes22-Aug-08 20:00
professionalMycroft Holmes22-Aug-08 20:00 
GeneralRe: Transactions ? Pin
SomeGuyThatIsMe25-Aug-08 2:08
SomeGuyThatIsMe25-Aug-08 2:08 
Questionhow to write this Query ?? Pin
varshavmane22-Aug-08 1:56
varshavmane22-Aug-08 1: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.