Click here to Skip to main content
15,798,508 members
Home / Discussions / Database
   

Database

 
AnswerRe: XQuery and Namespace Pin
kjfoley111-Jun-14 11:12
kjfoley111-Jun-14 11:12 
GeneralRe: XQuery and Namespace Pin
Mycroft Holmes11-Jun-14 14:03
professionalMycroft Holmes11-Jun-14 14:03 
QuestionIs there any one know what is the problem with my installing?I know nothing about PHP? Pin
basicshoes10-Jun-14 22:36
basicshoes10-Jun-14 22:36 
AnswerRe: Is there any one know what is the problem with my installing?I know nothing about PHP? Pin
Richard MacCutchan10-Jun-14 22:54
mveRichard MacCutchan10-Jun-14 22:54 
GeneralRe: Is there any one know what is the problem with my installing?I know nothing about PHP? Pin
basicshoes10-Jun-14 22:56
basicshoes10-Jun-14 22:56 
QuestionHow to get the Output based on Next Date if exists in the Table Pin
Robymon9-Jun-14 23:28
Robymon9-Jun-14 23:28 
SuggestionRe: How to get the Output based on Next Date if exists in the Table Pin
Richard MacCutchan9-Jun-14 23:47
mveRichard MacCutchan9-Jun-14 23:47 
AnswerRe: How to get the Output based on Next Date if exists in the Table Pin
Mycroft Holmes9-Jun-14 23:51
professionalMycroft Holmes9-Jun-14 23:51 
Try this, changing Modified and TableName to suit.

SQL
SELECT D.Dt, max(Modified)MaxDT,MIN(Modified)MinDT
FROM TableName N
INNER JOIN (SELECT DISTINCT CONVERT(DATE,Modified) Dt
FROM  TableName ) D ON D.Dt = CONVERT(DATE,N.Modified)  
GROUP BY Dt

Never underestimate the power of human stupidity
RAH

GeneralRe: How to get the Output based on Next Date if exists in the Table Pin
Robymon9-Jun-14 23:56
Robymon9-Jun-14 23:56 
GeneralRe: How to get the Output based on Next Date if exists in the Table Pin
Mycroft Holmes10-Jun-14 0:01
professionalMycroft Holmes10-Jun-14 0:01 
AnswerRe: How to get the Output based on Next Date if exists in the Table Pin
Tim Carmichael10-Jun-14 3:49
Tim Carmichael10-Jun-14 3:49 
AnswerRe: How to get the Output based on Next Date if exists in the Table Pin
Bernhard Hiller10-Jun-14 21:56
Bernhard Hiller10-Jun-14 21:56 
QuestionManually increment a column value in SQL Server database through query when date < currentdate Pin
hilbiazhar9-Jun-14 21:08
hilbiazhar9-Jun-14 21:08 
AnswerRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
Chris Quinn9-Jun-14 21:53
Chris Quinn9-Jun-14 21:53 
GeneralRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
hilbiazhar9-Jun-14 22:30
hilbiazhar9-Jun-14 22:30 
AnswerRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
Chris Quinn9-Jun-14 22:04
Chris Quinn9-Jun-14 22:04 
AnswerRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
Mycroft Holmes9-Jun-14 23:57
professionalMycroft Holmes9-Jun-14 23:57 
GeneralRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
hilbiazhar10-Jun-14 4:00
hilbiazhar10-Jun-14 4:00 
GeneralRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
Chris Quinn10-Jun-14 5:02
Chris Quinn10-Jun-14 5:02 
QuestionRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
Eddy Vluggen10-Jun-14 6:28
professionalEddy Vluggen10-Jun-14 6:28 
AnswerRe: Manually increment a column value in SQL Server database through query when date < currentdate Pin
hilbiazhar10-Jun-14 6:49
hilbiazhar10-Jun-14 6:49 
QuestionRegarding case control statement in mysql Pin
aghori9-Jun-14 4:15
aghori9-Jun-14 4:15 
AnswerRe: Regarding case control statement in mysql Pin
Wayne Gaylard9-Jun-14 4:22
professionalWayne Gaylard9-Jun-14 4:22 
GeneralRe: Regarding case control statement in mysql Pin
aghori9-Jun-14 4:34
aghori9-Jun-14 4:34 
AnswerRe: Regarding case control statement in mysql Pin
Jörgen Andersson9-Jun-14 4:25
professionalJörgen Andersson9-Jun-14 4:25 

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.