Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

SQLStudies

My name is Kenneth Fisher and I am Senior DBA for a large (multi-national) insurance company. I have been working with databases for over 20 years starting with Clarion and Foxpro. I’ve been working with SQL Server for 12 years but have only really started “studying” the subject for the last 3. I don’t have any real "specialities" but I enjoy trouble shooting and teaching. Thus far I’ve earned by MCITP Database Administrator 2008, MCTS Database Administrator 2005, and MCTS Database Developer 2008. I’m currently studying for my MCITP Database Developer 2008 and should start in on the 2012 exams next year. My blog is at www.sqlstudies.com.

Archives: May 2014

Who has the DAC open?

The other day I started seeing the following error in my SQL log.

Error: 17810, Severity: 20, State: 2.

Could not connect because the maximum number of ’1′ dedicated administrator connections already exists. Before a new connection can be made, the existing dedicated administrator connection must be dropped, either by…

Read more

0 comments, 1,721 reads

Posted in SQLStudies on 28 May 2014

Microsoft’s free virtual labs

If you have spent any time looking around my site, you will notice that I love study materials and in particular I love free ones. I even have a page devoted to study materials most of which are free.

Now Microsoft has dozens of virtual labs available on TechNet Read more

1 comments, 269 reads

Posted in SQLStudies on 26 May 2014

DBA Myths: A table with a primary key is not a heap

Typically when you see a heading like this you know the answer is “No” or “False” but in this case it’s more of a “hu?” You see a primary key and a table being a heap have nothing to do with each other. Well very little anyway.

  • A “Primary…

Read more

4 comments, 1,782 reads

Posted in SQLStudies on 21 May 2014

Escaping from a runaway Logon trigger

Most people know that logon triggers can be dangerous if you aren’t careful. And if you didn’t know, well, logon triggers can be dangerous if you aren’t careful. They can be really useful and are a great tool, but if you mess up you can REALLY mess up.

If you… Read more

1 comments, 977 reads

Posted in SQLStudies on 19 May 2014

Granting or denying permissions to all of the tables within a database

When granting or denying permissions to the tables within a database you have two options. You can either add the user/role to one of the preexisting database roles

  • Db_datareader – grants SELECT to all tables & views in a database
  • Db_datawriter – grants INSERT, UPDATE and DELETE to all tables…

Read more

2 comments, 1,925 reads

Posted in SQLStudies on 15 May 2014

T-SQL Tuesday #54: Interviews!

It’s T-SQL Tuesday again and this month our host is Boris Hristov (b/t). He has asked us to discuss Interviewing. (If I was his boss I might be wondering if he was looking for tips. :) )

Interviewing is hard. You are trying to find that… Read more

1 comments, 915 reads

Posted in SQLStudies on 13 May 2014

Does SQL Server do a CHECKDB during an instance restart?

When you start up an instance do you rely on the CHECKDB entry in the error log of SQL Server to tell if your databases are corrupt? You shouldn’t be.

Ever wonder why the CHECKDB can run so fast when you start up your instance but takes so long when… Read more

10 comments, 1,568 reads

Posted in SQLStudies on 7 May 2014

Why is there a sysobjects when we already have sys.objects?

Once upon a time in a version of SQL far far away we had system tables that were easy to see and could even be updated. One day one of these system tables “sysobjects” went to its fairy god-corporation Microsoft and begged to be hidden away from its mean step-dbas… Read more

0 comments, 246 reads

Posted in SQLStudies on 5 May 2014