Viewing 5 posts - 15,376 through 15,381 (of 15,381 total)
You could try simply dropping the TotalCleared from #temp. It is not needed. The update you are doing to that column will always contain just the rowcount. I assume you...
April 9, 2009 at 10:42 am
Bill Coale (3/13/2008)
nextrow.PriceStartDate AS EndDate
I usually do:
dateadd(day, -1, nextrow.PriceStartDate) AS EndDate
Also truncate to midnight the start/end date and any date comparisons...
January 23, 2009 at 7:50 am
Tao Klerks (11/18/2008)
I think you're confusing a couple of possibilities.
The query above reports employees who have no "subordinates" - there are no employees that have their employeeid in the...
November 18, 2008 at 9:13 am
Tao Klerks (11/18/2008)
That provides another reason why the following syntax is (in my opinion) preferable:
select *
from employees
left join employees as...
November 18, 2008 at 8:41 am
Viewing 5 posts - 15,376 through 15,381 (of 15,381 total)