img by Coba

Results tagged “SQL Server”

Recently Microsoft announced the new SQL Server 2008 R2 pricing and a lot of people wondered, "Why such big price increases?" There are the new "premium" editions - Datacenter and Parallel Data Warehouse - which are priced at more than $50,000 per processor but what caught my eye is the...
I'm helping a client work through some TokenAndPermUserStore performance issues and we're investigating using the new trace flag 4621 that was introduced in Service Pack 3 for SQL Server 2005. Oh wow is this not easy stuff to wade through... Here's a little background: in SQL Server 2005, there is...

CU4 for SQL Server 2008 RTM Is Out

First, let's get the acronyms out of the way: "RTM" stands for "Release To Manufacturing" and it is the software as it was originally shipped (no service packs or hotfixes). "CU" is the "Cumulative Update" and this is many hotfixes rolled into a single installer (but not so many that...
It's pretty rare that an amazingly awesome whitepaper comes out but one just hit the net. The article is written my Mark Pohto, a senior systems engineer in Microsoft IT with help from both Jimmy May and Ward Pond. This whitepaper is very, very much worth your time. Do you...

How to Find the Truncated Mean in SQL

The truncated mean is an average over a set obtained after you actually ignore the highest and lowest numbers. For example: given a set of the three numbers 100, 200 and 300, the "average" would be 200. We would add 100, 200, and 300 then divide by the number of...
In Part 1 we talked about the goals of the project and the two base tables. In Part 2 we talked about the LandingPageHit table. Part 3 covered the classes, LandingPage and WebsiteUtilities. In Part 4 of this long series about how to do conversion tracking with ASP.NET and...
In Part 1 we talked about the goals of the project and the two base tables. In Part 2 we talked about the LandingPageHit table Now that we have the base structures, the next (and near-final) database-driven piece would be the stored procedures to audit the hit, verify a...
In Part 1 of this series, we created our database and two tables. In Part 2, we'll create the classes and wire them up to a page... Step 2: Create/open website project and add references Step 1: Create the tables Step 2: Create/open website project and add references For...
In this series, I will show you how to implement page tracking using a SQL Server and ASP.NET system. This will work for any version of SQL Server and any version of the .NET Framework as well as C# or VB. This tutorial requires: SQL Server, Visual Studio (or...
The skinny: apparently back in April, SEC Consult notified the MSFT team of a vulnerability in the sp_replwritetovarbin system stored procedure. Microsoft has thus far declined to create a patch and so, for whatever reason, SEC Consult decided to release the vulnerability publicly. You can view the scripts to reproduce...

CU1 for SQL Server 2005 SP3 Already Out!

FIVE days after the release of SP3 we already have CU1. Give me a break... Timeline is simple: Dec 15: SP3 released. Dec 20: CU1 released. I haven't installed it but what do you want to bet that CU1 requires me to stop/restart my SQL Server?! Argggghhhhhh. This follows on...
The SQL 2005 BPA can be found here: SQL Server 2005 Best Practices Analyzer Do: Take full, differential, and/or log backups (whichever is appropriate) before running the analyzer (so you don't get warnings/information messages that clutter the report) Prior to running the BPA, run DBCC CHECKDB commands on your DBs...
I just read an interesting piece over on Aaron Bertrand's blog about how the overlap of Cumulative Updates 10 and 11 (CU 10 and CU 11) overlap with Service Pack 3. It's a good read - check it out here....
Here's a good read: How the SQL Server team releases updates. Okay - so that's not the official title (the official title is the overly officious An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems) but I think my title is something...
Have you ever launched SQL Server Management Studio (SSMS) and had to wait over 60 seconds before you could even login? I have - all too often! It's annoying - and thankfully there's an easy fix. Launch Internet Explorer Browse to Tools -> Internet options -> Advanced tab Uncheck the...
SQL Server Management Studio (SSMS) can be customized by using "switches" - little things added after the executable in the path to the file. Technically these are called "command line switches" and they are very common in most applications. Here's a great one for SSMS: Right click on your shortcut...
Delete the original ...\SQL Server x86\Tools\Setup\SqlServer2K5_BOL.msi Rename the downloaded SqlServer2K5_BOL_Jul2006_v2.msi (or whatever the latest version is) to SqlServer2K5_BOL.msi and copy it to the ...\SQL Server x86\Tools\Setup folder. Run setup. Thanks to John Paul Cook, a SQL Server MVP out of Houston, TX, for pointing this out. John Paul Cook...
Peer to Peer Replication made its SQL Server debut in SQL Server 2005 and just got even stronger in 2008. I found an interesting article recently that talks about how MSFT uses peer-to-peer internally and thought I would share: http://www.microsoft.com/technet/technetmag/issues/2006/07/InsideMSFT/default.aspx. It talks about how Peer-to-Peer replication with SQL Server 2005...
1
authors
scott whigham
grant moyle
chad weaver