Viewing 15 posts - 1 through 15 (of 71 total)
The default rounding method in .NET is Round-to-Even (or 'Bankers Rounding' as described in this thread). This type of rounding can be implemented in SQL Server quickly, easily and accurately...
May 4, 2012 at 8:35 am
I agree that a little creative thinking is required.
The aspect that causes us a problem is the removal of the server/CAL licensing model from the Enterprise Edition. We have a...
February 4, 2012 at 3:55 pm
aditya-457589 (6/21/2011)
declare @dt datetime , @time datetime
select * from TB
where StartDate < @dt
AND StartTime<...
June 23, 2011 at 3:19 am
Apparently Microsoft "strongly recommend that you set max degree of parallelism (MAXDOP) to 1 SQL Server instances that host SharePoint Server 2010 databases".
http://technet.microsoft.com/en-us/library/cc298801.aspx
I don't know whether or not...
June 8, 2011 at 5:44 am
A little more information wouldn't go amiss - which performance counter(s) are you monitoring?
Chris
May 19, 2011 at 12:27 pm
Which tool are you using to see how much memory SQL Server is using?
Chris
May 19, 2011 at 7:20 am
Michael Lysons (5/6/2011)
Amazon, definitely.The BBC's web site perhaps. Although, depending on how the site was developed it may not actually use the database that heavily. Still, it'd be kinda cool.
The...
May 6, 2011 at 7:25 am
Just a reminder that in SQL Server 2008 onwards you can use the following to represent a binary value as a character string (rather than a CTE or sp_hexadecimal):
SELECT CONVERT(VARCHAR(12),...
April 4, 2011 at 6:07 am
lancebeacroft (3/28/2011)
My view is that any changes to procedures must be auditable. therefore, first off I would have identified the...
March 28, 2011 at 4:30 am
Depends on the language settings. I get the following error:
"The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value."
Serves me right for...
March 18, 2011 at 2:13 am
paul.knibbs (2/10/2011)
February 10, 2011 at 7:16 am
I would be tempted to use Red-Gate SQL Compare to generate your script (you can download a trial at the link provided).
Use your database containing the tables and views as...
October 5, 2010 at 2:30 pm
The following links will point you in the right direction:
The links point to documentation for SQL Server 2008 R2, but the syntax for the tasks...
October 5, 2010 at 2:23 pm
I would start by reading a blog post by Paul Randal regarding the 'one datafile per CPU' myth:
Chris
October 5, 2010 at 2:18 pm
You may see an improvement by adding the OPTION (RECOMPILE) query hint to the problem query - this will cause the optimizer to recompile the statement with knowledge of the...
September 16, 2010 at 4:49 am
Viewing 15 posts - 1 through 15 (of 71 total)