Viewing 15 posts - 211 through 225 (of 231 total)
Oman. Ok, I sound like a broken record here, but my initial validation process didn't identify a hidden issue...
I just noticed that the last query is including cases that don't...
December 30, 2009 at 12:55 pm
Excellent! Thank you for that variation!
This one works even better for me since I do need to pull other columns.
This is so great. Thank you again!
December 30, 2009 at 9:53 am
Oh man, that's great stuff. Perhaps I got a tad confused before looking at it from a different perspective. Basically eliminating the open complaints in order to find...
December 29, 2009 at 10:34 am
See, the thing is, I'm writing the query in SQL2008 Management Studio, but I'm running it against a SQL2000 db. (perhaps this post shouldn't be in the SS2K8 section?)....
December 29, 2009 at 8:28 am
I'm bringing this post back up for discussion.
The query I have didn't work out after all when I spent a little time validating it. (bummer) Here's what I got:
SELECT...
December 28, 2009 at 1:33 pm
:crying:
Well, ...bummer.
I'll hold onto that code for when we migrate the db to 2008, which should be in the near future.
Thanks for your help!
December 14, 2009 at 3:18 pm
Well then, that would appear to be a much more elegant and simpler solution! I'm running it in 2008. Why won't it accept the "EXCEPT"? I copied it...
December 14, 2009 at 2:26 pm
Hmmm. I've never used "except" before. But when I run that query, it says "Incorrect syntax near the keyword 'EXCEPT'." ...?
But, wouldn't this theoretically just pull up all...
December 14, 2009 at 8:24 am
You know what? I was looking at the query sturner posted and I think it's actually right after all. I don't know what i did when i tried running...
December 11, 2009 at 3:58 pm
Hehe. Too complicated? Yep, that is entirely possible. Like I said, I'm probably overthinking it. But when I first got the request I thought "Oh! that's easy!" and promptly...
December 11, 2009 at 3:46 pm
Thanks for the effort, but that's not quite right.
Based on the following query, I've posted some sample data to give a better idea:
select caseid
into #OpenCases
from dbo.tblCase
where closedate = ' '
and...
December 11, 2009 at 1:25 pm
Thank you, Seth, for all your assistance. You have been an immense help; I did move forward a bit on this process, thanks to some of your suggestions!
I used...
October 20, 2009 at 8:03 pm
...Anyone else out there have any ideas for me?
October 19, 2009 at 10:21 am
I'm hoping I followed directions correctly...
I've posted some sample data, just for 2 routes, from the temp table: (Note, I excluded clientname, for obvious reasons)
--Create the temp table:
CREATE TABLE #Temp(
...
October 16, 2009 at 11:07 pm
I think I figured out why the Odometers are not populating quite right...
My code separates out by Activity in two different cases for two different odoms: (note in the first...
October 16, 2009 at 3:47 pm
Viewing 15 posts - 211 through 225 (of 231 total)