Click here to Skip to main content
15,924,828 members
Home / Discussions / Database
   

Database

 
QuestionUpdate values based on non-matched records Pin
empulse14-Aug-08 13:28
empulse14-Aug-08 13:28 
AnswerRe: Update values based on non-matched records Pin
Mycroft Holmes14-Aug-08 15:18
professionalMycroft Holmes14-Aug-08 15:18 
GeneralRe: Update values based on non-matched records Pin
empulse14-Aug-08 15:53
empulse14-Aug-08 15:53 
GeneralRe: Update values based on non-matched records Pin
Mycroft Holmes14-Aug-08 16:03
professionalMycroft Holmes14-Aug-08 16:03 
GeneralRe: Update values based on non-matched records Pin
empulse14-Aug-08 16:06
empulse14-Aug-08 16:06 
QuestionT-SQL Help Pin
RG_SA14-Aug-08 12:28
RG_SA14-Aug-08 12:28 
AnswerRe: T-SQL Help Pin
Colin Angus Mackay14-Aug-08 12:44
Colin Angus Mackay14-Aug-08 12:44 
GeneralRe: T-SQL Help Pin
RG_SA14-Aug-08 20:36
RG_SA14-Aug-08 20:36 
Hi Colin, thanks for the help. I was getting confused with the nested SELECTS.

I have tried your example but it only returns one row, the very MIN and the very MAX.

I need multiple rows retured for each instance of 2 and 3 i.e

John 2008-04-12 11:53:01 2008-04-13 10:01:02
John 2008-04-14 08:30:32 2008-04-15 22:23:12
Peter 2008-04-12 10:45:23 2008-04-13 08:34:12

I think this would have to work with the timestamp. I have tried a ORDER BY, but SQL does't like that to much.

Any ideas, thanks again for getting bck to me
GeneralRe: T-SQL Help Pin
Colin Angus Mackay14-Aug-08 21:15
Colin Angus Mackay14-Aug-08 21:15 
GeneralRe: T-SQL Help Pin
RG_SA15-Aug-08 0:50
RG_SA15-Aug-08 0:50 
GeneralRe: T-SQL Help Pin
Colin Angus Mackay15-Aug-08 1:24
Colin Angus Mackay15-Aug-08 1:24 
GeneralRe: T-SQL Help [modified] Pin
RG_SA15-Aug-08 2:16
RG_SA15-Aug-08 2:16 
GeneralRe: T-SQL Help Pin
Wendelius15-Aug-08 8:27
mentorWendelius15-Aug-08 8:27 
QuestionSQL Express 2005 - Visual Studio 2008 Pin
Ed.Poore14-Aug-08 8:25
Ed.Poore14-Aug-08 8:25 
AnswerRe: SQL Express 2005 - Visual Studio 2008 Pin
Wendelius14-Aug-08 8:45
mentorWendelius14-Aug-08 8:45 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Ed.Poore14-Aug-08 11:12
Ed.Poore14-Aug-08 11:12 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Wendelius15-Aug-08 4:28
mentorWendelius15-Aug-08 4:28 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Ed.Poore15-Aug-08 22:52
Ed.Poore15-Aug-08 22:52 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Ed.Poore15-Aug-08 22:54
Ed.Poore15-Aug-08 22:54 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Wendelius16-Aug-08 21:24
mentorWendelius16-Aug-08 21:24 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Wendelius16-Aug-08 23:00
mentorWendelius16-Aug-08 23:00 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Ed.Poore17-Aug-08 8:13
Ed.Poore17-Aug-08 8:13 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Ed.Poore17-Aug-08 8:28
Ed.Poore17-Aug-08 8:28 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Wendelius17-Aug-08 8:43
mentorWendelius17-Aug-08 8:43 
GeneralRe: SQL Express 2005 - Visual Studio 2008 Pin
Ed.Poore17-Aug-08 11:22
Ed.Poore17-Aug-08 11: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.