Click here to Skip to main content
15,889,335 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAbout asp.net system slowdown Pin
leone15-Dec-09 6:06
leone15-Dec-09 6:06 
AnswerRe: About asp.net system slowdown Pin
Abhijit Jana15-Dec-09 6:22
professionalAbhijit Jana15-Dec-09 6:22 
AnswerRe: About asp.net system slowdown Pin
Abhishek Sur15-Dec-09 7:17
professionalAbhishek Sur15-Dec-09 7:17 
QuestionQuestion about writing a conditional SQL statement Pin
James Shao15-Dec-09 4:28
James Shao15-Dec-09 4:28 
AnswerRe: Question about writing a conditional SQL statement [modified] Pin
dan!sh 15-Dec-09 5:00
professional dan!sh 15-Dec-09 5:00 
GeneralRe: Question about writing a conditional SQL statement Pin
James Shao15-Dec-09 12:43
James Shao15-Dec-09 12:43 
GeneralRe: Question about writing a conditional SQL statement Pin
James Shao15-Dec-09 15:50
James Shao15-Dec-09 15:50 
GeneralRe: Question about writing a conditional SQL statement Pin
dan!sh 15-Dec-09 17:06
professional dan!sh 15-Dec-09 17:06 
James Shao wrote:
The answers are: "12/16/2009" and "12/11/2009".


12/15 should also come. Right? 12/13 is less than 30 and 12/15 is more.

I hope this should work.

select tbl1.date as fromDate,tbl2.date as toDate, tbl1.indicator as fromValue, tbl2.indicator as toValue from yourtable tbl1, yourtable tbl2 where tbl1.indicator < 30 and tb12.indicator > 30 and datediff(date,tbl1.date,tbl2.date) = 2


(I have not tested the query so it may give some error)

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

QuestionXPATH problem Pin
Rohit16db15-Dec-09 3:22
Rohit16db15-Dec-09 3:22 
AnswerRe: XPATH problem Pin
Abhishek Sur15-Dec-09 10:30
professionalAbhishek Sur15-Dec-09 10:30 
QuestionPage updating Pin
#realJSOP15-Dec-09 0:59
mve#realJSOP15-Dec-09 0:59 
AnswerRe: Page updating Pin
Eduard Keilholz15-Dec-09 1:08
Eduard Keilholz15-Dec-09 1:08 
GeneralRe: Page updating Pin
#realJSOP15-Dec-09 3:14
mve#realJSOP15-Dec-09 3:14 
AnswerRe: Page updating Pin
dan!sh 15-Dec-09 1:27
professional dan!sh 15-Dec-09 1:27 
GeneralRe: Page updating Pin
#realJSOP15-Dec-09 3:10
mve#realJSOP15-Dec-09 3:10 
GeneralRe: Page updating Pin
dan!sh 15-Dec-09 3:28
professional dan!sh 15-Dec-09 3:28 
GeneralRe: Page updating Pin
#realJSOP15-Dec-09 3:42
mve#realJSOP15-Dec-09 3:42 
GeneralRe: Page updating Pin
dan!sh 15-Dec-09 4:54
professional dan!sh 15-Dec-09 4:54 
GeneralRe: Page updating Pin
#realJSOP15-Dec-09 3:45
mve#realJSOP15-Dec-09 3:45 
GeneralRe: Page updating Pin
dan!sh 15-Dec-09 4:53
professional dan!sh 15-Dec-09 4:53 
GeneralRe: Page updating Pin
#realJSOP15-Dec-09 5:07
mve#realJSOP15-Dec-09 5:07 
GeneralRe: Page updating Pin
dan!sh 15-Dec-09 5:14
professional dan!sh 15-Dec-09 5:14 
GeneralRe: Page updating Pin
Abhishek Sur15-Dec-09 4:23
professionalAbhishek Sur15-Dec-09 4:23 
GeneralRe: Page updating Pin
Nitin S15-Dec-09 4:26
professionalNitin S15-Dec-09 4:26 
GeneralRe: Page updating Pin
#realJSOP15-Dec-09 5:49
mve#realJSOP15-Dec-09 5:49 

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.