Click here to Skip to main content
15,886,774 members
Home / Discussions / Database
   

Database

 
AnswerRe: Date Convertion Pin
jschell7-Jun-11 10:11
jschell7-Jun-11 10:11 
AnswerRe: Date Convertion Pin
Prasanta_Prince9-Jun-11 1:21
Prasanta_Prince9-Jun-11 1:21 
QuestionHow to build this partial SUM... Pin
Jun Du3-Jun-11 4:47
Jun Du3-Jun-11 4:47 
AnswerRe: How to build this partial SUM... Pin
Blue_Boy3-Jun-11 4:50
Blue_Boy3-Jun-11 4:50 
AnswerRe: How to build this partial SUM... Pin
Corporal Agarn3-Jun-11 4:57
professionalCorporal Agarn3-Jun-11 4:57 
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 
You are right about storing the date/time info in the appropriate format: the cases when it makes sense to store it differently are few and far between. The only exception to this rule that I've seen was when we needed to select across multiple dates (e.g. first ten minutes of each hour between 9 and 16). Indexing on the hour and minute components, stored in separate two-character fields, helped us avoid a full-table scan.
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 
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 

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.