- SQL Server Reference Guide
- Introduction
- SQL Server Reference Guide Overview
- Table of Contents
- Microsoft SQL Server Defined
- SQL Server Editions
- SQL Server Access
- Informit Articles and Sample Chapters
- Online Resources
- Microsoft SQL Server Features
- SQL Server Books Online
- Clustering Services
- Data Transformation Services (DTS) Overview
- Replication Services
- Database Mirroring
- Natural Language Processing (NLP)
- Analysis Services
- Microsot SQL Server Reporting Services
- XML Overview
- Notification Services for the DBA
- Full-Text Search
- SQL Server 2005 - Service Broker
- Using SQL Server as a Web Service
- SQL Server Encryption Options Overview
- SQL Server 2008 Overview
- SQL Server 2008 R2 Overview
- SQL Azure
- The Utility Control Point and Data Application Component, Part 1
- The Utility Control Point and Data Application Component, Part 2
- Microsoft SQL Server Administration
- The DBA Survival Guide: The 10 Minute SQL Server Overview
- Preparing (or Tuning) a Windows System for SQL Server, Part 1
- Preparing (or Tuning) a Windows System for SQL Server, Part 2
- Installing SQL Server
- Upgrading SQL Server
- SQL Server 2000 Management Tools
- SQL Server 2005 Management Tools
- SQL Server 2008 Management Tools
- SQL Azure Tools
- Automating Tasks with SQL Server Agent
- Run Operating System Commands in SQL Agent using PowerShell
- Automating Tasks Without SQL Server Agent
- Storage – SQL Server I/O
- Service Packs, Hotfixes and Cumulative Upgrades
- Tracking SQL Server Information with Error and Event Logs
- Change Management
- SQL Server Metadata, Part One
- SQL Server Meta-Data, Part Two
- Monitoring - SQL Server 2005 Dynamic Views and Functions
- Monitoring - Performance Monitor
- Unattended Performance Monitoring for SQL Server
- Monitoring - User-Defined Performance Counters
- Monitoring: SQL Server Activity Monitor
- SQL Server Instances
- DBCC Commands
- SQL Server and Mail
- Database Maintenance Checklist
- The Maintenance Wizard: SQL Server 2000 and Earlier
- The Maintenance Wizard: SQL Server 2005 (SP2) and Later
- The Web Assistant Wizard
- Creating Web Pages from SQL Server
- SQL Server Security
- Securing the SQL Server Platform, Part 1
- Securing the SQL Server Platform, Part 2
- SQL Server Security: Users and other Principals
- SQL Server Security – Roles
- SQL Server Security: Objects (Securables)
- Security: Using the Command Line
- SQL Server Security - Encrypting Connections
- SQL Server Security: Encrypting Data
- SQL Server Security Audit
- High Availability - SQL Server Clustering
- SQL Server Configuration, Part 1
- SQL Server Configuration, Part 2
- Database Configuration Options
- 32- vs 64-bit Computing for SQL Server
- SQL Server and Memory
- Performance Tuning: Introduction to Indexes
- Statistical Indexes
- Backup and Recovery
- Backup and Recovery Examples, Part One
- Backup and Recovery Examples, Part Two: Transferring Databases to Another System (Even Without Backups)
- SQL Profiler - Reverse Engineering An Application
- SQL Trace
- SQL Server Alerts
- Files and Filegroups
- Partitioning
- Full-Text Indexes
- Read-Only Data
- SQL Server Locks
- Monitoring Locking and Deadlocking
- Controlling Locks in SQL Server
- SQL Server Policy-Based Management, Part One
- SQL Server Policy-Based Management, Part Two
- SQL Server Policy-Based Management, Part Three
- Microsoft SQL Server Programming
- An Outline for Development
- Database
- Database Services
- Database Objects: Databases
- Database Objects: Tables
- Database Objects: Table Relationships
- Database Objects: Keys
- Database Objects: Constraints
- Database Objects: Data Types
- Database Objects: Views
- Database Objects: Stored Procedures
- Database Objects: Indexes
- Database Objects: User Defined Functions
- Database Objects: Triggers
- Database Design: Requirements, Entities, and Attributes
- Business Process Model Notation (BPMN) and the Data Professional
- Business Questions for Database Design, Part One
- Business Questions for Database Design, Part Two
- Database Design: Finalizing Requirements and Defining Relationships
- Database Design: Creating an Entity Relationship Diagram
- Database Design: The Logical ERD
- Database Design: Adjusting The Model
- Database Design: Normalizing the Model
- Creating The Physical Model
- Database Design: Changing Attributes to Columns
- Database Design: Creating The Physical Database
- Database Design Example: Curriculum Vitae
- NULLs
- The SQL Server Sample Databases
- The SQL Server Sample Databases: pubs
- The SQL Server Sample Databases: NorthWind
- The SQL Server Sample Databases: AdventureWorks
- The SQL Server Sample Databases: Adventureworks Derivatives
- UniversalDB: The Demo and Testing Database, Part 1
- UniversalDB: The Demo and Testing Database, Part 2
- UniversalDB: The Demo and Testing Database, Part 3
- UniversalDB: The Demo and Testing Database, Part 4
- Getting Started with Transact-SQL
- Transact-SQL: Data Definition Language (DDL) Basics
- Transact-SQL: Limiting Results
- Transact-SQL: More Operators
- Transact-SQL: Ordering and Aggregating Data
- Transact-SQL: Subqueries
- Transact-SQL: Joins
- Transact-SQL: Complex Joins - Building a View with Multiple JOINs
- Transact-SQL: Inserts, Updates, and Deletes
- An Introduction to the CLR in SQL Server 2005
- Design Elements Part 1: Programming Flow Overview, Code Format and Commenting your Code
- Design Elements Part 2: Controlling SQL's Scope
- Design Elements Part 3: Error Handling
- Design Elements Part 4: Variables
- Design Elements Part 5: Where Does The Code Live?
- Design Elements Part 6: Math Operators and Functions
- Design Elements Part 7: Statistical Functions
- Design Elements Part 8: Summarization Statistical Algorithms
- Design Elements Part 9:Representing Data with Statistical Algorithms
- Design Elements Part 10: Interpreting the Data—Regression
- Design Elements Part 11: String Manipulation
- Design Elements Part 12: Loops
- Design Elements Part 13: Recursion
- Design Elements Part 14: Arrays
- Design Elements Part 15: Event-Driven Programming Vs. Scheduled Processes
- Design Elements Part 16: Event-Driven Programming
- Design Elements Part 17: Program Flow
- Forming Queries Part 1: Design
- Forming Queries Part 2: Query Basics
- Forming Queries Part 3: Query Optimization
- Forming Queries Part 4: SET Options
- Forming Queries Part 5: Table Optimization Hints
- Using SQL Server Templates
- Transact-SQL Unit Testing
- Index Tuning Wizard
- Unicode and SQL Server
- SQL Server Development Tools
- The SQL Server Transact-SQL Debugger
- The Transact-SQL Debugger, Part 2
- Basic Troubleshooting for Transact-SQL Code
- An Introduction to Spatial Data in SQL Server 2008
- Performance Tuning
- Performance Tuning SQL Server: Tools and Processes
- Performance Tuning SQL Server: Tools Overview
- Creating a Performance Tuning Audit - Defining Components
- Creating a Performance Tuning Audit - Evaluation Part One
- Creating a Performance Tuning Audit - Evaluation Part Two
- Creating a Performance Tuning Audit - Interpretation
- Creating a Performance Tuning Audit - Developing an Action Plan
- Understanding SQL Server Query Plans
- Performance Tuning: Implementing Indexes
- Performance Monitoring Tools: Windows 2008 (and Higher) Server Utilities, Part 1
- Performance Monitoring Tools: Windows 2008 (and Higher) Server Utilities, Part 2
- Performance Monitoring Tools: Windows System Monitor
- Performance Monitoring Tools: Logging with System Monitor
- Performance Monitoring Tools: User Defined Counters
- General Transact-SQL (T-SQL) Performance Tuning, Part 1
- General Transact-SQL (T-SQL) Performance Tuning, Part 2
- General Transact-SQL (T-SQL) Performance Tuning, Part 3
- Performance Monitoring Tools: An Introduction to SQL Profiler
- Performance Tuning: Introduction to Indexes
- Performance Monitoring Tools: SQL Server 2000 Index Tuning Wizard
- Performance Monitoring Tools: SQL Server 2005 Database Tuning Advisor
- Performance Monitoring Tools: SQL Server Management Studio Reports
- Performance Monitoring Tools: SQL Server 2008 Activity Monitor
- The SQL Server 2008 Management Data Warehouse and Data Collector
- Performance Monitoring Tools: Evaluating Wait States with PowerShell and Excel
- Practical Applications
- Choosing the Back End
- The DBA's Toolbox, Part 1
- The DBA's Toolbox, Part 2
- Scripting Solutions for SQL Server
- Building a SQL Server Lab
- Using Graphics Files with SQL Server
- Enterprise Resource Planning
- Customer Relationship Management (CRM)
- Building a Reporting Data Server
- Building a Database Documenter, Part 1
- Building a Database Documenter, Part 2
- Data Management Objects
- Data Management Objects: The Server Object
- Data Management Objects: Server Object Methods
- Data Management Objects: Collections and the Database Object
- Data Management Objects: Database Information
- Data Management Objects: Database Control
- Data Management Objects: Database Maintenance
- Data Management Objects: Logging the Process
- Data Management Objects: Running SQL Statements
- Data Management Objects: Multiple Row Returns
- Data Management Objects: Other Database Objects
- Data Management Objects: Security
- Data Management Objects: Scripting
- Powershell and SQL Server - Overview
- PowerShell and SQL Server - Objects and Providers
- Powershell and SQL Server - A Script Framework
- Powershell and SQL Server - Logging the Process
- Powershell and SQL Server - Reading a Control File
- Powershell and SQL Server - SQL Server Access
- Powershell and SQL Server - Web Pages from a SQL Query
- Powershell and SQL Server - Scrubbing the Event Logs
- SQL Server 2008 PowerShell Provider
- SQL Server I/O: Importing and Exporting Data
- SQL Server I/O: XML in Database Terms
- SQL Server I/O: Creating XML Output
- SQL Server I/O: Reading XML Documents
- SQL Server I/O: Using XML Control Mechanisms
- SQL Server I/O: Creating Hierarchies
- SQL Server I/O: Using HTTP with SQL Server XML
- SQL Server I/O: Using HTTP with SQL Server XML Templates
- SQL Server I/O: Remote Queries
- SQL Server I/O: Working with Text Files
- Using Microsoft SQL Server on Handheld Devices
- Front-Ends 101: Microsoft Access
- Comparing Two SQL Server Databases
- English Query - Part 1
- English Query - Part 2
- English Query - Part 3
- English Query - Part 4
- English Query - Part 5
- RSS Feeds from SQL Server
- Using SQL Server Agent to Monitor Backups
- Reporting Services - Creating a Maintenance Report
- SQL Server Chargeback Strategies, Part 1
- SQL Server Chargeback Strategies, Part 2
- SQL Server Replication Example
- Creating a Master Agent and Alert Server
- The SQL Server Central Management System: Definition
- The SQL Server Central Management System: Base Tables
- The SQL Server Central Management System: Execution of Server Information (Part 1)
- The SQL Server Central Management System: Execution of Server Information (Part 2)
- The SQL Server Central Management System: Collecting Performance Metrics
- The SQL Server Central Management System: Centralizing Agent Jobs, Events and Scripts
- The SQL Server Central Management System: Reporting the Data and Project Summary
- Time Tracking for SQL Server Operations
- Migrating Departmental Data Stores to SQL Server
- Migrating Departmental Data Stores to SQL Server: Model the System
- Migrating Departmental Data Stores to SQL Server: Model the System, Continued
- Migrating Departmental Data Stores to SQL Server: Decide on the Destination
- Migrating Departmental Data Stores to SQL Server: Design the ETL
- Migrating Departmental Data Stores to SQL Server: Design the ETL, Continued
- Migrating Departmental Data Stores to SQL Server: Attach the Front End, Test, and Monitor
- Tracking SQL Server Timed Events, Part 1
- Tracking SQL Server Timed Events, Part 2
- Patterns and Practices for the Data Professional
- Managing Vendor Databases
- Consolidation Options
- Connecting to a SQL Azure Database from Microsoft Access
- SharePoint 2007 and SQL Server, Part One
- SharePoint 2007 and SQL Server, Part Two
- SharePoint 2007 and SQL Server, Part Three
- Querying Multiple Data Sources from a Single Location (Distributed Queries)
- Importing and Exporting Data for SQL Azure
- Working on Distributed Teams
- Professional Development
- Becoming a DBA
- Certification
- DBA Levels
- Becoming a Data Professional
- SQL Server Professional Development Plan, Part 1
- SQL Server Professional Development Plan, Part 2
- SQL Server Professional Development Plan, Part 3
- Evaluating Technical Options
- System Sizing
- Creating a Disaster Recovery Plan
- Anatomy of a Disaster (Response Plan)
- Database Troubleshooting
- Conducting an Effective Code Review
- Developing an Exit Strategy
- Data Retention Strategy
- Keeping Your DBA/Developer Job in Troubled Times
- The SQL Server Runbook
- Creating and Maintaining a SQL Server Configuration History, Part 1
- Creating and Maintaining a SQL Server Configuration History, Part 2
- Creating an Application Profile, Part 1
- Creating an Application Profile, Part 2
- How to Attend a Technical Conference
- Tips for Maximizing Your IT Budget This Year
- The Importance of Blue-Sky Planning
- Application Architecture Assessments
- Transact-SQL Code Reviews, Part One
- Transact-SQL Code Reviews, Part Two
- Cloud Computing (Distributed Computing) Paradigms
- NoSQL for the SQL Server Professional, Part One
- NoSQL for the SQL Server Professional, Part Two
- Object-Role Modeling (ORM) for the Database Professional
- Business Intelligence
- BI Explained
- Developing a Data Dictionary
- BI Security
- Gathering BI Requirements
- Source System Extracts and Transforms
- ETL Mechanisms
- Business Intelligence Landscapes
- Business Intelligence Layouts and the Build or Buy Decision
- A Single Version of the Truth
- The Operational Data Store (ODS)
- Data Marts – Combining and Transforming Data
- Designing Data Elements
- The Enterprise Data Warehouse — Aggregations and the Star Schema
- On-Line Analytical Processing (OLAP)
- Data Mining
- Key Performance Indicators
- BI Presentation - Client Tools
- BI Presentation - Portals
- Implementing ETL - Introduction to SQL Server 2005 Integration Services
- Building a Business Intelligence Solution, Part 1
- Building a Business Intelligence Solution, Part 2
- Building a Business Intelligence Solution, Part 3
- Tips and Troubleshooting
- SQL Server and Microsoft Excel Integration
- Tips for the SQL Server Tools: SQL Server 2000
- Tips for the SQL Server Tools – SQL Server 2005
- Transaction Log Troubles
- SQL Server Connection Problems
- Orphaned Database Users
- Additional Resources
- Tools and Downloads
- Utilities (Free)
- Tool Review (Free): DBDesignerFork
- Aqua Data Studio
- Microsoft SQL Server Best Practices Analyzer
- Utilities (Cost)
- Quest Software's TOAD for SQL Server
- Quest Software's Spotlight on SQL Server
- SQL Server on Microsoft's Virtual PC
- Red Gate SQL Bundle
- Microsoft's Visio for Database Folks
- Quest Capacity Manager
- SQL Server Help
- Visual Studio Team Edition for Database Professionals
- Microsoft Assessment and Planning Solution Accelerator
- Aggregating Server Data from the MAPS Tool
I was recently asked by a technical professional about how they could become a database professional. It was an interesting question, because I've answered it verbally many times but even in the four books and hundreds of articles I've written, I've never directly addressed it. Throughout this article I'll use the term "DBA" to refer not only to the administrator role, but also to development, data analysis and other database professions as well.
I think it's great to be a DBA for several reasons. You're normally in a small group of technical professionals. While there may be dozens of developers, administrators and other computer professionals in a company, there are often only a few or even one DBA. You also get to deal with not only the computing side of the organization but also its business. The variety of skills you need to have makes for a varied, interesting day.
But before I explore how to become a DBA, I probably need to define what that means. It's a bit difficult to quantify a complete job description for a DBA since each job environment is a little different. In other jobs, a role is often quite generic across companies. If you are a programmer, there are common tasks that you will perform at each and every job, whether you're writing software for the health industry or for a gaming shop. If you are a manager, your role is to attract, motivate and effective engage your workers to accomplish a goal.
Don't misunderstand — in each of these examples, there are plenty of differences in the job roles. Perhaps in the gaming example the focus is more on polygons and user interfaces, and in the health care example the focus is on process flow. One managerial position might be under harsh conditions with lots of direct-reports, another might be working in a less stressful environment with fewer employees. The point is that if you're a good software developer in one location you are usually a good developer in general, and if you're able to adapt to managerial challenges in one environment you can often do that in another.
But the DBA role is a bit different. Some of the skills I've learned as a DBA at one organization are not as useful at another. The differences are driven by several factors, including the work the shop ultimately does, the number and types of servers, and so on. But the primary factor is the company itself.
Yes, there are certain tasks that every shop needs, especially around the maintenance areas. I've detailed a list of these tasks and intervals in a SQL Server maintenance checklist in another tutorial. Whether you are a large shop or small, whether you have one server on a cruise ship or hundreds of servers in a data center, these kinds of tasks are required. But once the basic maintenance is completed manually or runs automatically, the job changes. Let's examine a few examples from my own career.
I've worked at several companies, from large to small. I've also contributed to a few open-source projects, and even been a consultant interacting with multiple other companies. One of my jobs was in the United States Air Force. In this environment, we used an Oracle database on a DEC VAX cluster in a large project-tracking system. In this environment, I was only allowed to do database work — I had no control over the operating system at all. In fact, I had to request new user accounts from the system operator.
In this job, my DBA duties focused on storage, performance, and object security. Because storage was expensive to procure and maintain, I made storage decisions at design time, rather than by tweaking things after the fact. This means that my job duties and skills were in the design of database systems, programming, and even business requirements. Quite a far cry from just maintenance!
In another role I had, I worked at a small software firm. Like most other employees, I wore "multiple hats," meaning that I didn't have a single title. In this situation money was always a primary factor, so I had to learn a great deal about licensing, open-source database systems, and deciding the best technology for use in a given situation. Once again, these are different skills than just knowing a lot about a particular database system.
In a couple of other jobs, I worked as a Business Intelligence developer. One was a small-scale system with a single source of data, and another was in a very large organization with dozens of data sources, including two SAP instances. The skills here involved everything from data visualization to archival strategies.
With all this variety, is there a single way to "become a DBA?" No, there is no single way, but there are some things you can do if you want to get and keep a job in one or more of these areas. Over the years I've been a manager of a DBA group or two, and I've been able to observe what skills and traits made a good database professional. I'll define "good" here as someone who seemed to enjoy the job, and was proficient at it.
Required Skills
To be a "good" DBA, there are a few skills and even traits that are necessary or at least useful.
The first trait I've found that is a requirement for a good DBA is attention to detail. Since you're often in a small group or even by yourself as the DBA, you aren't going to have a lot of people to check your work. You'll have to make sure you edit your own tasks to ensure that nothing is missed. Along with this skill is the trait of having a high-level of professionalism. If something needs to get done, there's a good chance you alone are the one that has to do it. Unless you have a lot of self discipline, your work will suffer.
Along with these traits, of course it helps to have an interest in technology. Interestingly, I've met people in this career fields who aren't "geeks," and don't care much about tech in general. While you don't have to build computers and attend Star Trek conventions in your spare time to be a good DBA, having an interest in technical matters other than just databases has been something I've observed in skilled database professionals.
Not only should you be interested in technology, one of the most defining characteristics of a successful DBA is an interest in business. I don't mean just interest in the business of where you work now, but in business in general. Even if you work at a non-profit or volunteer organization (I've done both), we're all in the business of business. In your role as a database professional you'll often stand in between technology and what the business is ultimately trying to do. Don't be surprised to find yourself in as many business meetings as technical ones.
On the technical skills side, one of the most useful is pattern recognition. This means that you should be able to recognized patterns not only in data, but in functions. This helps tremendously with database design and program flow.
Finally, I've found that the ability to abstract is another defining characteristic of a great database professional. We all do abstraction, and I've found it to be useful in all its definitions.
Formal Education
With all of these required skills and traits in place, there is also a place for formal education. But this is where things become a little more difficult.
Most colleges and universities don't have a degree program in "database professional." And interestingly enough, a Computer Science degree doesn't always guarantee a good DBA. To be sure, I think that computer science classes help, and are in fact a requirement. But I would argue that a better path for a DBA is to get a Business degree, with a minor in computer science, especially with a heavy emphasis on database courses. Why?
The primary reasons are the skills and traits I mentioned earlier. As you may have noticed, there's a lot of business and non-technical skills that you need to become a good database professional. By taking business courses, you'll prepare yourself well in those business meetings you attend. Some of the best DBAs (and developers and managers) I know are able to "do an ROI" with the best of the CFO's in the meeting.
This isn't to say if you have a CompSci degree (or no degree at all) that you can't become a DBA. I've seen people with even journalism degrees make fantastic DBAs. It's just that having a sound foundation in business fundamentals along with your technical knowledge makes for one formidable combination.
What about Certifications?
I've talked about certification in another tutorial, so suffice it to say that I think that certifications are a great tool to do two things: they prove to others you're at least partially interested in the field and they've force you to do a little study on your own. I have a few myself, but they are ancillary to my other knowledge, not the core.
Job Experience
Many DBA's start out in other parts of information technology. Others are brand-new to technology, and want to break in to the job. There are different strategies for both groups of people to move into the DBA role.
Getting Job Experience for the First Time
So you're fresh out of college with that business degree and with a minor in Computer Science and a focus on databases, or you haven't attended college yet but you did well in school and have all the traits and skills I mentioned earlier. But you don't have experience in the role yet. Since there are only a few DBAs in an organization, the hiring staff doesn't want to bring you in with no experience, but you can't get experience because no one will bring you in. What to do?
Don't despair — there are lots of ways you can get experience. The first is to set up a system of your own, write an application, maintain the database system, and break and fix it as often as you can. Although this might not sound like experience on the surface, it is. I've got lots of resources on Informit that will help you do that.
Second, volunteer at a charity or church to help with their database tasks. Almost everyone uses technology today, and these organizations usually have a current professional that volunteered to help, but would love to train you to do the job.
Now you've got a little experience, and you're in a similar place as a current technical professional that wants to move into the role.
Progressing as a DBA
Perhaps you have a lot of experience as a technical professional, but you want to become a DBA. How do you start?
Begin by taking on a project that requires a small database. Learn about how to design and develop databases by looking at the various sections I have at this site, and put that knowledge to use. As you complete one project, seek out new, larger ones. Eventually you'll work right into the role.
That might sound a bit too simplistic, but it does work — as long as you follow two simple rules.
The first rule is that you treat each of these projects — regardless of how small or importance — like it's the most important, delicate thing you've ever done. Make notes, create lots of automation, and log the process. The key here is to use each project to learn something new.
The second rule is to ensure that others (especially other managers) know that you're doing this kind of work, and that you're interested in doing more of it. Be ready to move positions when approached, and even to move locations if needed to get the experience.
So is all this training and work worth it? I think so. I've enjoyed my career as a database professional, and look forward to not only using exciting new technology, but contributing to the industry as well. I just love this stuff.
Informit Articles and Sample Chapters
In this tutorial I've alluded to multiple kinds of database jobs. And in this article I explain that concept a little further.
Online Resources
Another great resource to learn more about the job is this link from Database Journal.