Viewing 15 posts - 17,281 through 17,295 (of 18,926 total)
Or
Select Whse, count(Distinct Batch) from dbo.YourTable group by Whse
June 7, 2005 at 11:42 am
Select whse, batch, count(*) as Total
from dbo.YourTable
group by Whse, Batch
[Edit]
Sorry didn't understand the post correctly... gonna repost the right answer.
June 7, 2005 at 11:40 am
It's surely something stupid but I don't see it.
June 7, 2005 at 11:38 am
Hmm, this returns nothing for me (tried modifying the dateformat)?
June 7, 2005 at 11:29 am
Have you tried recompiling the procs right after you modified 'em (making sure that the old plan gets dropped).
June 7, 2005 at 11:25 am
Sorry for the delay, I just got released from the hospital.
Well first of all, you don't rollback the transaction after the first sp_executesql when there's an error. Is this...
June 7, 2005 at 11:23 am
The question is now : how do you know which records that you do no want?
June 7, 2005 at 10:44 am
Sounds like a good idea to me. The question really is wheater the server is allowing the production to keep on going without have too many indexes that...
June 7, 2005 at 10:13 am
Here's an exemple of a count of business days between 2 dates (excluding saturdays). It also takes into consideration the holidays. Msg me if you need help modifying...
June 7, 2005 at 9:53 am
You'd be better off with (18,6) because you got up to 6 decimals in that data sample.
June 7, 2005 at 9:47 am
This works for me :
If you need to have one proc for the min, and one for the max, I'll resplit them for you.
if exists (select * from dbo.sysobjects...
June 7, 2005 at 9:42 am
Let me send an ambulance to Frank's house before you post this...
I'll be waiting for mine here on the floor.
June 7, 2005 at 9:17 am
I'll have to believe you because I never used Crystal report... but I would assume that it's more complete than Access.
June 7, 2005 at 9:15 am
I don't mind... but it's gonna cost you 4 tickets to send me back.. probabely not best the investement you could make
.
So...
June 7, 2005 at 9:09 am
So you need my adress to ship the tickets (I'd need one for my cat too)?
June 7, 2005 at 8:57 am
Viewing 15 posts - 17,281 through 17,295 (of 18,926 total)