Click here to Skip to main content
15,913,685 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to build this partial SUM... Pin
David Mujica3-Jun-11 5:21
David Mujica3-Jun-11 5:21 
AnswerRe: How to build this partial SUM... [modified] Pin
Luc Pattyn3-Jun-11 6:07
sitebuilderLuc Pattyn3-Jun-11 6:07 
GeneralRe: How to build this partial SUM... Pin
dasblinkenlight5-Jun-11 7:08
dasblinkenlight5-Jun-11 7:08 
GeneralRe: How to build this partial SUM... Pin
J4amieC6-Jun-11 6:19
J4amieC6-Jun-11 6:19 
GeneralRe: How to build this partial SUM... Pin
dasblinkenlight6-Jun-11 6:38
dasblinkenlight6-Jun-11 6:38 
QuestionTop 1 distinct or something like that Pin
Paul E Davies2-Jun-11 23:21
Paul E Davies2-Jun-11 23:21 
AnswerRe: Top 1 distinct or something like that Pin
Blue_Boy2-Jun-11 23:49
Blue_Boy2-Jun-11 23:49 
GeneralRe: Top 1 distinct or something like that Pin
Paul E Davies3-Jun-11 0:44
Paul E Davies3-Jun-11 0:44 
Thanks for the reply.

I don't think I made it clear in my original post so apologies, but the details column could be anything (it's actually an XML fragment) so distinct will bring back all rows anyway or at least more than 1 row per eventid.

I think I'm after a sort of "top 1 distinct" combination.
GeneralRe: Top 1 distinct or something like that Pin
Blue_Boy3-Jun-11 1:06
Blue_Boy3-Jun-11 1:06 
AnswerRe: Top 1 distinct or something like that Pin
dasblinkenlight3-Jun-11 1:20
dasblinkenlight3-Jun-11 1:20 
GeneralRe: Top 1 distinct or something like that Pin
David Mujica3-Jun-11 2:43
David Mujica3-Jun-11 2:43 
GeneralRe: Top 1 distinct or something like that Pin
Paul E Davies3-Jun-11 3:33
Paul E Davies3-Jun-11 3:33 
AnswerRe: Top 1 distinct or something like that Pin
Simon_Whale3-Jun-11 1:32
Simon_Whale3-Jun-11 1:32 
QuestionSQL Server: One connection vs Connection Per Client Pin
Eli Nurman2-Jun-11 5:59
Eli Nurman2-Jun-11 5:59 
AnswerRe: SQL Server: One connection vs Connection Per Client Pin
David Mujica2-Jun-11 6:14
David Mujica2-Jun-11 6:14 
AnswerRe: SQL Server: One connection vs Connection Per Client Pin
jschell2-Jun-11 9:48
jschell2-Jun-11 9:48 
QuestionDistinct + Count Pin
JP_Rocks1-Jun-11 23:51
JP_Rocks1-Jun-11 23:51 
AnswerRe: Distinct + Count Pin
Ravi Sant1-Jun-11 23:56
Ravi Sant1-Jun-11 23:56 
GeneralRe: Distinct + Count Pin
JP_Rocks2-Jun-11 0:03
JP_Rocks2-Jun-11 0:03 
GeneralRe: Distinct + Count Pin
JP_Rocks2-Jun-11 0:07
JP_Rocks2-Jun-11 0:07 
GeneralRe: Distinct + Count Pin
Blue_Boy2-Jun-11 1:54
Blue_Boy2-Jun-11 1:54 
GeneralRe: Distinct + Count Pin
SilimSayo2-Jun-11 2:30
SilimSayo2-Jun-11 2:30 
Questionsql server hangs with multi queries Pin
Eli Nurman1-Jun-11 20:26
Eli Nurman1-Jun-11 20:26 
AnswerRe: sql server hangs with multi queries Pin
jschell2-Jun-11 9:50
jschell2-Jun-11 9:50 
GeneralRe: sql server hangs with multi queries Pin
Eli Nurman2-Jun-11 9:58
Eli Nurman2-Jun-11 9:58 

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.