Viewing 15 posts - 14,206 through 14,220 (of 14,953 total)
I may be misreading this, but it seems to me that if an account has 90 minutes on its SLA, and you calculate the business minutes, you should be able...
April 15, 2008 at 11:00 am
If 9-million records is 2 Gig, then 500-million records will be about 120 Gig (plus or minus). So, assuming you're using relatively modern hard drives, storage shouldn't be too...
April 15, 2008 at 10:50 am
Did you install SQL Server yourself or did someone else install it?
If you installed it, there was an option for setting up Mixed Mode authentication, which means both Windows security...
April 15, 2008 at 10:46 am
Generally speaking, I think the best way to migrate full text indexes is to drop the 2000 ones and rebuild them in 2005 as if they were completely new. ...
April 15, 2008 at 10:42 am
If the plan is to switch to SQL/.NET in a few months, starting out with Oracle will simply increase costs without any real benefit.
The best thing to do is evaluate...
April 15, 2008 at 10:40 am
April 15, 2008 at 10:30 am
There are some solutions for this at:
http://www.sqlservercentral.com/Forums/Topic457395-338-1.aspx
April 15, 2008 at 10:29 am
Yeah, the CTEs were just a sample. There are a number of ways to accomplish this. The best choice will depend on the rest of the code it's...
April 15, 2008 at 9:11 am
Rob Goddard (4/15/2008)
Correct. The developer will usually get the better way done, while a DBA will usually just say it can't be done.
Ouch, although I think that is almost...
April 15, 2008 at 7:21 am
You can use multiple CTEs if they are separated with commas. The stuff about Union, et al, is for recursive CTEs or multiple queries in one definition. Slightly...
April 14, 2008 at 3:43 pm
If you have a numbers table, it's easy enough:
;with Months (Month) as
(select number
from dbo.Numbers
where number between 1 and 12),
Days (Day) as
(select number
from dbo.Numbers
where number between 1 and 31)
select Month,...
April 14, 2008 at 1:29 pm
Because of the leap year subtraction problem, it won't work if one of the dates is before, and one is after, 29 Feb in a leap year, and the two...
April 14, 2008 at 11:48 am
Modified code:
declare @D1 datetime, @D2 datetime
select @d1 = '1/30/2000 11:59:59 pm', @d2 = '1/31/2000 12:00:01 am'
select datepart(year, @d2-@d1)-1900 as years,
datepart(month, @d2-@d1)-1 as months,
datepart(day, @d2-@d1)-1 as days,
datepart(hour, @d2-@d1) as hours,
datepart(minute, @d2-@d1)...
April 14, 2008 at 11:43 am
Only month and day need the -1. 0 = midnight, so hours, minutes, seconds, etc., don't need that. Years already has a -1900 (because that's 0 in datetime).
Try...
April 14, 2008 at 11:36 am
Yeah. It's not precisely a rounding error. It's a "1 Jan" does not equal 0 error. Needs -1 on the month and day columns because of that.
April 14, 2008 at 11:35 am
Viewing 15 posts - 14,206 through 14,220 (of 14,953 total)