Re: Starting Date of Week(Week Number Issue)
From: Ben Arthur (skchbs_at_yahoo.com)
Date: 03/04/04
- Next message: Dieter Noeth: "Re: Faster way than 9 left joins??"
- Previous message: Patrick Delifer: "Re: Stored Procedure help"
- In reply to: Uri Dimant: "Re: Starting Date of Week(Week Number Issue)"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 04 Mar 2004 06:05:57 -0800
select avg(DATEDIFF(n,s.cStart,s.cStop)) avg,DAtename(ww,b.cTime) days
from tablex s INNER JOIN tabley b on group by DAtename(ww,b.cTime) order
by avg desc
this is the query i had....which i formed with great difficulty, looking
for the right function, i havelittle clue as to what you have
suggested....could you please elaborate, i m sure its pretty simple and
i feel silly asking, but really need your help !
thanks
Ben
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Dieter Noeth: "Re: Faster way than 9 left joins??"
- Previous message: Patrick Delifer: "Re: Stored Procedure help"
- In reply to: Uri Dimant: "Re: Starting Date of Week(Week Number Issue)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|