SQL Server with Mr. Denny

December 30, 2008  9:07 AM

Managing Multiple Databases on a Single Server

Denny Cherry Denny Cherry Profile: Denny Cherry

Back in November I wrote an article for Enterprise IT Planet entitled “Managing Multiple Databases on a Single Server” in which I go over the potential problems you can face when consolidating instances of SQL Server.


December 29, 2008  11:00 AM

Order To Restore Database Backups In

Denny Cherry Denny Cherry Profile: Denny Cherry

I’m often asked (both online and offline) once you have all your database backups, in what order to they need to be restored in?

I’ve actually asked this very question to senior level DBAs as an interview question before, and gotten some very interesting answers.

When restoring your database you start with your full backup, then restore your diffential backup (if you have taken one) then restore all the transaction log backups begining with the backup taken after the full (or differential) and going until the last transaction log backup available (or until you reach the point in time you want to stop the restore at).


December 25, 2008  11:00 AM

What should I do when my Windows Admin wants to put an anti-virus on the SQL Servers?

Denny Cherry Denny Cherry Profile: Denny Cherry

My answer to that one is pretty easy.  Let him / her.  I’m a firm believer that every machine on the network should have anti-virus software installed.  Most anti-virus software is pretty lightweight (especially compared to the amount of hardware that your SQL Server has), and if a virus did get onto the SQL Server the results could be awful.

Continued »

December 24, 2008  3:07 AM

VMware 3.5 won’t start any VMs if the Licensing server is down

Denny Cherry Denny Cherry Profile: Denny Cherry

So tonight I finely got around to patching the fourth VMware ESX 3.0.2 server to 3.5 Update 3.

The other 3 servers went just fine, quick reboot when done and back up and running in no time.

So experience said that the fourth one would be no problem…

Continued »

December 23, 2008  11:30 PM

sp_replwritetovarbin Heap Overflow Code Exploit Code In The Wild, Works By Using Our Good Friend SQL Injection

Denny Cherry Denny Cherry Profile: Denny Cherry

For those living under a rock there is a new SQL exploit in the wild.

Dennis did an excellent write up of it already so I’ll refer you do <. for his entry and save myself the time of writing what has already been written.


December 22, 2008  11:00 AM

Development of SQL 2008 SSIS Packages Requires SSIS Service

Denny Cherry Denny Cherry Profile: Denny Cherry

Unlike in SQL 2005, when developing SSIS packages in SQL Server 2008 BIDS you must have the SSIS service installed on your workstation.  This is a change from SQL Server 2005 where you did not have to have the actual SSIS service installed on your workstation.

It doesn’t appear that you actually need to have the service running.  I have stopped the SSIS service on my workstation and I am still able to run my SQL 2008 SSIS packages, however I would recommend setting it to manual rather then disabled just in case BIDS needs it running for some reason.

If you try and edit an existing package without the SSIS service installed an error message will be displayed saying that the service needs to be installed.


December 18, 2008  11:00 AM

Its time for a code freeze again

Denny Cherry Denny Cherry Profile: Denny Cherry

Its the holidays again, and that means its time for a code freeze. Code freeze’s are handy for a few reasons.

  1. People like to take vacations this time of year for some reasons. With a code freeze in place everyone can spend the holidays with family rather than with the servers.
  2. With everyone taking time off, if new code has a problem finding the people who actually wrote the code may be an issue.
  3. It boosts staff moral to not have to worry about pushing new features into production on a skeleton staff.
  4. It keeps the families of the staff happy to have them home around this time of year.

While it doesn’t help make the company and money to freeze code, it simply makes everyone happy, and isn’t that what this time of year is really all about.


December 15, 2008  8:03 PM

SQLServerPedia.com Webcast Archived

Denny Cherry Denny Cherry Profile: Denny Cherry

I’ve been informed that the webcast I did last week with some of the other editors for SQLServerPedia.com has been archived for offline viewing.


December 15, 2008  9:00 AM

Back To Basics: Getting Data from an XML Document

Denny Cherry Denny Cherry Profile: Denny Cherry

One of the most popular ways to get data multiple pieces of data in a single parameter from one stored procedure to another, or from a client application to the database is to use XML. This can be done in SQL Server 2000 by using the NTEXT (or TEXT) datatype, and in SQL 2005 using the XML datatype. (In SQL Server 2008 you can use Table variable input parameters.)

Continued »

December 9, 2008  7:43 PM

SQL Quiz: Toughest Challenges

Denny Cherry Denny Cherry Profile: Denny Cherry

Chris Shaw posted a new SQL Quiz where he asks: “What are the largest challenges that you have faced in your career and how did you overcome those?”

I found this question rather tough to answer (as I have when I’ve been asked similar questions during interviews), but here goes.

1:  Dealing with some of the developers that I’ve had to work with in the past.

Most of the people that I’ve worked with in the past have been great.  But there are a few out there (who will rename nameless since the IT field is a pretty small group) that were just a major pain.  Never open to anyone’s ideas but their own.  No project is important unless it is their project.  Unfortunately at the time this was the CEO’s favorite employee since he was the one that had gotten the company that far.  It didn’t matter that a new group of people had been brought in to help get the company to the next level.

As far as dealing with the problem, we eventually went to our boss and basically told her that someone needed to bring him back down to earth.  There were other good ideas that deserved consideration and as the infrastructure team we should be listened to at least once in a while since we might know what we are doing.

2: Same company, a year later having to work with (and for) people that didn’t understand half the stuff coming out of my mouth.

After butting my head against statements like “a Table and a worksheet mean the same thing” I took the easy way out.  I just had to, I gave notice and left.  It took me several months of biting my tongue and explaining myself over and over before I had finely had enough.  I ended up moving on to another company which ended up laying me off after 6-8 weeks because they ran out of money.  But all in all it was a good choice.

(I’ll put up a third answer, but only because I’m cheating and stealing Brent’s second answer.)

3: Learning when to tell people “No”.

I love telling people yes.  Sure I can add that functionally.  Stay late and get that done; no problem.  Eventually people start taking advantage of you and planning on you being able to be taken advantage of.  My wife (Kris) helped a lot on helping me fix this one (I still have a hard time telling her no, but that’s something else to work on) and I thank her for that.

Brent Ozar  (brento on Twitter) tagged me for this one.

I’m tagging:

Denis Gobo (DenisGobo on twitter)

Tom Larock (sqlbatman on twitter)


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: