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: December 2012

Red errors in the results pane

Most DBAs have seen those nice clear red errors in the results pane. And I’m sure most DBAs have noticed the line number clearly displayed after the state.

Here is a fun test to try. Execute the following script:

PRINT 'test'
SELECT TOP 10 * FROM sys.databases
SELECT @@VERSION
DECLARE…
Read more

3 comments, 1,518 reads

Posted in SQLStudies on 19 December 2012

Generating multiple SQL statements from a query

Dynamic SQL is one of my favorite tools in the DBA toolbox. I’m big on automation and dynamic SQL can be very helpful in automating processes across multiple databases, multiple instances etc. There are several flavors of dynamic SQL and each is useful under different circumstances. I should point out… Read more

2 comments, 688 reads

Posted in SQLStudies on 17 December 2012

Where is my backup?

We recently added responsibility for ~80 more servers to our team. This means that my team-mates and I are working on servers that we aren’t familiar with. And that means that we don’t know where the backups are stored. So yesterday when I had to do an ad-hoc backup for… Read more

6 comments, 1,175 reads

Posted in SQLStudies on 12 December 2012

Copying Connection Managers in SSIS

Did you know you can copy and paste connection managers in SSIS? While I haven’t found this a huge benefit with OLE DB connections it can come in very handy for flat file connections. Here is an example I ran across recently.

The task:
Create a SSIS package to unload… Read more

0 comments, 821 reads

Posted in SQLStudies on 10 December 2012

Logins vs Users

Logins are not Users. It’s a pretty easy concept but one that seems to give a lot of people problems. So let’s explore it a little bit.

Logins, sql and windows, are stored in sys.server_principals and are server specific. They are assigned server level permissions and can be added to… Read more

10 comments, 2,333 reads

Posted in SQLStudies on 3 December 2012