Viewing 15 posts - 2,671 through 2,685 (of 14,953 total)
michael.french 172 (12/12/2011)
December 12, 2011 at 1:09 pm
If you have a Numbers table, you can do something like this:
SELECT DATEADD(DAY, Number, DATEADD(week, -5, CAST(GETDATE() AS DATE))),
DATEADD(MINUTE, (12 *...
December 12, 2011 at 1:06 pm
I'm not clear on what you need. Are you just looking for a way to determine 30 minutes before and after the current time?
December 12, 2011 at 12:51 pm
Couple of options. You could use the T-SQL Pivot operator, as per http://msdn.microsoft.com/en-us/library/ms177410.aspx, or you could build a query for each count and use Union All to connect them...
December 12, 2011 at 12:48 pm
Since SQL Express doesn't have the SQL Agent service for scheduling jobs, you'll either need to build something that can use the Windows task scheduler (perhaps through the command line,...
December 12, 2011 at 12:38 pm
Change "COUNT" to "SUM" and you should get what you need.
December 12, 2011 at 11:50 am
bradmcgehee@hotmail.com (12/12/2011)
December 12, 2011 at 10:53 am
Of all the forum threads available, the one resurrected a year later is one about resume fonts .... interesting.
December 12, 2011 at 9:47 am
I agree with the split. DBA = admins the database, Management = analyzes data and makes+implements decisions based on it, Analyst = support for management when specialized knowledge/skills are...
December 12, 2011 at 7:54 am
From today's ToDo: Catch up on missed week in The Thread done
Had a good week. Looks like I didn't miss too much here. Brandi and Gail...
December 12, 2011 at 7:34 am
Just got back from being off for a week. Didn't need to bother with work e-mail at all. Definitely a good break.
December 12, 2011 at 6:23 am
Evil Kraig F (12/2/2011)
Barkingdog (12/2/2011)
December 2, 2011 at 12:19 pm
Use the month and year to get the first day of that month. Then use DateAdd to add a month to, then DateAdd again to subtract one day, and...
December 2, 2011 at 11:20 am
Ninja's_RGR'us (12/2/2011)
Happy putzy week-end (I hope I got the meaning right!).
Definition 1: unintelligent person: somebody regarded as very unintelligent and unpleasant
But I was just quoting Blazing Saddles because of the...
December 2, 2011 at 11:09 am
Dev (12/2/2011)
cfradenburg (12/2/2011)
Dev (12/2/2011)
I will keep a note in my collection. One more reason for not opting SQL Server Clustering... 😉
There are some very good reasons...
December 2, 2011 at 11:07 am
Viewing 15 posts - 2,671 through 2,685 (of 14,953 total)