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

Database

 
GeneralDAO+MFC console application, zero records inspite of data in file Pin
samiujan14-May-02 2:25
samiujan14-May-02 2:25 
GeneralRe: DAO+MFC console application, zero records inspite of data in file Pin
markkuk14-May-02 20:14
markkuk14-May-02 20:14 
GeneralRe: DAO+MFC console application, zero records inspite of data in file Pin
samiujan14-May-02 22:59
samiujan14-May-02 22:59 
GeneralRe: DAO+MFC console application, zero records inspite of data in file Pin
markkuk14-May-02 23:20
markkuk14-May-02 23:20 
GeneralRe: DAO+MFC console application, zero records inspite of data in file Pin
samiujan14-May-02 23:57
samiujan14-May-02 23:57 
QuestionWhat's my way? Pin
laphijia13-May-02 19:08
laphijia13-May-02 19:08 
AnswerRe: What's my way? Pin
Aizik Yair13-May-02 23:45
Aizik Yair13-May-02 23:45 
QuestionSQL Question? Pin
Learning12-May-02 2:13
Learning12-May-02 2:13 
I have a situation which I am trying to solve just by creating SQL's without programming because of some installation requirements. I did not have any luck with it. Was wondering whether anyone knows of a solution :
Here is the situation-
DB2 Table 1:
------------

FirstName LastName DateOfBirth History Date
--------- -------- ----------- ------- ----
Joe Smith 01/01/95 05/25/1997
Joe Smith 01/01/95 11/01/1997

Bob Smith 05/07/55 10/01/1998

Sherri Gaston 11/11/73 11/15/1999
Sherri Gaston 11/11/73 12/20/1999
Sherri Gaston 11/11/73 05/05/2000

Primary Key in the above table is FirstName, LastName, DateOfBirth.
From the above table I am trying to create a "daily" level table which will have a record for every primary key starting from the history record date to the next history record date.
So for example the result for "Joe Smith" will be

Joe Smith 01/01/95 05/25/1997
Joe Smith 05/26/1997
Joe Smith 05/26/1997
Joe Smith 05/26/1997
Joe Smith 05/26/1997
.........until 11/01/1997 (his last record's history begin date).
I don't mind building intermediate temporary tables. Can anyone help or thing of something?
Thank you
M
GeneralUpdating MSAccess DBs between Versions Pin
Tony Fontenot9-May-02 11:54
Tony Fontenot9-May-02 11:54 
GeneralRe: Updating MSAccess DBs between Versions Pin
chris foote10-May-02 5:51
chris foote10-May-02 5:51 
GeneralRe: Updating MSAccess DBs between Versions Pin
Matt Gullett12-May-02 2:44
Matt Gullett12-May-02 2:44 
GeneralSQL Server IP Pin
Le centriste9-May-02 4:03
Le centriste9-May-02 4:03 
GeneralRe: SQL Server IP Pin
AndyG10-May-02 18:45
AndyG10-May-02 18:45 
GeneralRe: SQL Server IP Pin
David Salter14-May-02 9:39
David Salter14-May-02 9:39 
GeneralCRecordset field access errors Pin
Dels8-May-02 5:36
Dels8-May-02 5:36 
GeneralRe: CRecordset field access errors Pin
Prem Kumar13-May-02 5:01
Prem Kumar13-May-02 5:01 
GeneralSQL Server and Oracle Pin
Not Active7-May-02 2:51
mentorNot Active7-May-02 2:51 
GeneralRe: SQL Server and Oracle Pin
Carlos Antollini7-May-02 3:00
Carlos Antollini7-May-02 3:00 
GeneralRe: SQL Server and Oracle Pin
Carlos Antollini7-May-02 3:00
Carlos Antollini7-May-02 3:00 
GeneralRe: SQL Server and Oracle Pin
Not Active7-May-02 3:25
mentorNot Active7-May-02 3:25 
GeneralOne more question Pin
alex.barylski6-May-02 19:14
alex.barylski6-May-02 19:14 
GeneralRe: One more question Pin
markkuk6-May-02 22:12
markkuk6-May-02 22:12 
GeneralRe: One more question Pin
Andres Manggini7-May-02 16:11
Andres Manggini7-May-02 16:11 
GeneralHosts table in mySQL Pin
alex.barylski6-May-02 19:11
alex.barylski6-May-02 19:11 
GeneralSensitive data in database tables Pin
Le centriste6-May-02 7:28
Le centriste6-May-02 7:28 

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.