Viewing 15 posts - 346 through 360 (of 408 total)
You're most likely looking for a group by statement along the lines of:
select
PERSONKEYIDS.FullName AS 'Sales Manager Name',
Timesheets.SMID,
LastDate = max(Timesheets.[date])
from
AGENT_TEAM_FACT
left...
November 12, 2005 at 4:25 pm
Ilan -
I see what's happening, unexpected but it makes sense once you see it. When you are setting @StartTime to @Today (which is the date - 3 days) + '16:00'...
November 5, 2005 at 4:21 pm
Alan -
You may want to double check your logic unless you truly want records added more than 30 days ago, to the exact hour, minute and second to go into...
November 5, 2005 at 2:03 pm
As far as getting only the top 1 record that matches, unless somebody else has a better idea, you're going to need a subquery for each of the line items...
November 4, 2005 at 8:59 pm
Regardless of the question, it's a pretty good guess that the answer is 42
November 4, 2005 at 8:52 pm
Check the job scheduler - probably have an older maintenance plan still on the schedule.
Joe
November 2, 2005 at 7:15 pm
No kidding, there are a few things that I just know I'm going to be hearing about until the day I die - and others will be reminded of my...
November 2, 2005 at 12:39 pm
What about stored procedures, etc? Do they need to be moved as well or left alone on the development box?
Joe
November 2, 2005 at 9:20 am
How much data (e.g. 10GB) and how many rows are you moving on a weekly basis? Across what type of network (100Mb/Sec, 1Gb/Sec?) Are you moving the complete contents of...
November 1, 2005 at 4:59 pm
Helen -
Sounds like time to upgrade to SQL Server 2005 which has encryption built in right out of the box.
Actually, sounds...
October 31, 2005 at 9:50 am
Once upon a time when I (many moons ago) - went in to replace a failed drive in a large RAID 5 array... I was in a big hurry, eyeballed the array and...
October 30, 2005 at 12:27 am
Assuming reboots/minimal off hours downtime isn't a big deal the biggest question would be the amount of data that you need to move from server A to server B.
Moving...
October 28, 2005 at 3:04 pm
Why in the world can't you schedule some off hours maintenance/down time? Some sort of SLA?
Joe
October 28, 2005 at 12:07 pm
A little more information on the SQL Trace - run the trace for a while, then save the results to a table so that you can get a good look...
October 27, 2005 at 3:32 pm
Viewing 15 posts - 346 through 360 (of 408 total)