Viewing 15 posts - 3,781 through 3,795 (of 7,636 total)
David Webb (1/21/2009)
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Yes, and HIT a...
January 21, 2009 at 3:09 pm
Well @@DBTS can technically do what the OP asked. Of course that is only within the scope of a single database (no mention of scope in the original request),...
January 21, 2009 at 3:00 pm
Greg J (1/21/2009)
January 21, 2009 at 2:43 pm
Greg J (1/21/2009)
Am I missing something simple? I searched scripts and forums for "Spanning", to no avail.
Yes, I have noticed that there is something wrong with the Google search...
January 21, 2009 at 2:39 pm
toniupstny (1/21/2009)
January 21, 2009 at 12:24 pm
Here's one way to do it without the temp table or any loops:
Select callstart
, (Select count(*)
From YourTable t2
Where t2.callstart <= t1.callstart
And t2.callend >= t1.callstart) as OpenCalls
From (Select...
January 21, 2009 at 10:52 am
First, you do not need a record for every second, you only need a record for every distinct callstart.
January 21, 2009 at 10:45 am
santoooo (1/20/2009)
See, this is the requirement that i want in 2000 as well as in 2005, thats I have posted here.
Questions for multiple versions should go to the lower version....
January 21, 2009 at 9:58 am
Tom Carnahan (1/21/2009)
My limited experience is that whenever MS has an automation wizard, there is another way to do the same thing.
You are right, this is generally true. And...
January 21, 2009 at 6:17 am
I have never used peer-to-peer replication, so I cannot help you there.
January 21, 2009 at 6:09 am
Well assuming that you have SQL 2000 (you're in a 2005 forum, by the way), then you can generate them one at a time in Query Analyzer:
Hit F8 to open...
January 20, 2009 at 10:35 pm
Heh, maybe I shouldn't post after midnight. But sure, use it if it helps. 😛
January 20, 2009 at 10:12 pm
Jeff Moden (1/20/2009)
January 20, 2009 at 9:48 pm
A couple of unrelated things that I noticed:
1) an Activated proc should not need WAITFOR (unless it is looping). It should still be OK the way it is though.
2)...
January 20, 2009 at 4:13 pm
Viewing 15 posts - 3,781 through 3,795 (of 7,636 total)