Click here to Skip to main content
15,912,507 members
Home / Discussions / Database
   

Database

 
AnswerRe: Multi table queries Pin
Colin Angus Mackay2-Feb-06 22:48
Colin Angus Mackay2-Feb-06 22:48 
GeneralRe: Multi table queries Pin
myNameIsRon3-Feb-06 5:16
myNameIsRon3-Feb-06 5:16 
AnswerRe: Multi table queries Pin
Sri Vidhya3-Feb-06 21:58
Sri Vidhya3-Feb-06 21:58 
GeneralRe: Multi table queries Pin
myNameIsRon4-Feb-06 5:20
myNameIsRon4-Feb-06 5:20 
QuestionThis beginner needs some HELP with SQL Registration Pin
alexvw2-Feb-06 12:25
alexvw2-Feb-06 12:25 
AnswerRe: This beginner needs some HELP with SQL Registration Pin
Mike Dimmick4-Feb-06 4:57
Mike Dimmick4-Feb-06 4:57 
QuestionNeed help for sql ASAP Phuleez Pin
Minoo S2-Feb-06 10:29
Minoo S2-Feb-06 10:29 
AnswerRe: Need help for sql ASAP Phuleez Pin
Colin Angus Mackay2-Feb-06 10:59
Colin Angus Mackay2-Feb-06 10:59 
Minoo S wrote:
Donno what am I missing on


Proper relationships? Primary Keys?

I really don't know where to start on this. There is apparently no real relationship between these two tables. In which case, matching them up is going to be sporatic and error prone.

To get the situation right:
A phone call is made. At the start of the call a row is inserted in the Phones table.
At the end of the call a row is inserted in the Survey table.

Minoo S wrote:
Timelag could vary from millisec to 2 or 3 mins.So the way to identify is through timestamp, factoring in mins difference.


No it isn't. Really! That isn't the way to design a database.

Why does the survey table not have a foreign key that matches the primary key of the Phones table? (Or if there is the possibility of a many-to-many join - why is there no intermediate table?)

I'm hoping that there is missing information here and you just need to post it. What is the structure of the two tables? (I want DDL or a description of column names, types and primary/foreign keys)

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

AnswerRe: Need help for sql ASAP Phuleez Pin
Minoo S2-Feb-06 17:31
Minoo S2-Feb-06 17:31 
GeneralRe: Need help for sql ASAP Phuleez Pin
Colin Angus Mackay2-Feb-06 20:58
Colin Angus Mackay2-Feb-06 20:58 
GeneralRe: Need help for sql ASAP Phuleez Pin
Minoo S3-Feb-06 7:16
Minoo S3-Feb-06 7:16 
GeneralRe: Need help for sql ASAP Phuleez Pin
Minoo S5-Feb-06 8:43
Minoo S5-Feb-06 8:43 
GeneralRe: Need help for sql ASAP Phuleez Pin
Colin Angus Mackay5-Feb-06 8:47
Colin Angus Mackay5-Feb-06 8:47 
GeneralRe: Need help for sql ASAP Phuleez Pin
Minoo S19-Apr-06 6:14
Minoo S19-Apr-06 6:14 
QuestionCreating SQL Blocks? Pin
Justin Cooke2-Feb-06 4:36
Justin Cooke2-Feb-06 4:36 
Questionmerging two tables or two datasets Pin
dansoft2-Feb-06 4:23
dansoft2-Feb-06 4:23 
AnswerRe: merging two tables or two datasets Pin
Chris Meech2-Feb-06 7:54
Chris Meech2-Feb-06 7:54 
GeneralRe: merging two tables or two datasets Pin
dansoft2-Feb-06 15:49
dansoft2-Feb-06 15:49 
QuestionConnection Pooling ADo.Net Pin
faviochilo2-Feb-06 3:21
faviochilo2-Feb-06 3:21 
AnswerRe: Connection Pooling ADo.Net Pin
Le centriste2-Feb-06 6:52
Le centriste2-Feb-06 6:52 
QuestionAdd JPEG In MySQL5.0 Table via VB6.0 Pin
jobje2-Feb-06 1:56
jobje2-Feb-06 1:56 
QuestionIs SELECT INTO optimal to copy data? Pin
Salil Khedkar2-Feb-06 1:54
Salil Khedkar2-Feb-06 1:54 
AnswerRe: Is SELECT INTO optimal to copy data? Pin
Mike Dimmick2-Feb-06 2:32
Mike Dimmick2-Feb-06 2:32 
QuestionHelp!!Compacting Database MSDE/SQL Pin
jfk_lili1-Feb-06 22:35
jfk_lili1-Feb-06 22:35 
AnswerRe: Help!!Compacting Database MSDE/SQL Pin
Mike Dimmick2-Feb-06 2:38
Mike Dimmick2-Feb-06 2:38 

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.