- 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’ve been working in a technical career for a very long time. While I’ve never “struck it rich” to the point where I could retire at 25, I’ve done quite well, and have enjoyed my work. I love working with database technology because it allows me to work in so many industries at once, satisfies my “inner geek”, and provides a pretty good living.
I get asked from time to time, especially in the college course I teach, how I progressed in my career and for any tips to help others progress in theirs. I’ve been asked to mentor others, and even taught career classes at the junior level. So in this tutorial series, I’ll explain a series of ideas that you can think about for your own career, if you decide that database technology is interesting enough to pursue. Although I’ll show you lots of strategies and tactics to follow, and resources you can use to do that, in the end there’s one simple thing you should remember:
Your career is up to you.
That may sound rather obvious – but if there’s anything I run into over and over it’s someone who tells me that they are waiting for a boss, company or someone else to do something for them that will help them progress. They want the company to pay for training, buy them a book, or grant them some other perceived work favor. They want the economy to get better, a spouse to finish their training or schooling, someone to give them something or take them somewhere. They believe it’s their right to be trained by the company with no guarantee that it will help the company move forward. In fact, most of these folks, when questioned, have no idea what the overall company goals are, much less how their department or group fits into that role.
And if you put yourself into the place of the company, you can see that there’s no incentive whatsoever to help an employee like this in any way. You might pay that person to do a job, but you’re sure not expecting a lot out of them.
So do I suggest becoming a “fan” of the company? Do I think that you should “drink the cool-aide” and become a corporate shill? Do I believe that companies are benevolent forces that really have your best interest at hear? Not at all!
What I suggest is that you become a fan of yourself, and realize that the only person who really cares if you succeed is you! It’s important that you learn to set your own course. In fact, I invite you to start with this mindset: wherever you are, you’re a consultant. You are being hired to do a job as best you can, not to work at a company. And to do that you need to know a few things first.
In this installment I’ll explain how to get ready and position your mind and your energy towards owning your career plan, and in the next I’ll explain some practical ways to develop and follow that plan.
Know Thyself
There’s an old Greek aphorism that says “know thyself.” And while most of us think we know everything there is to know about ourselves, that isn’t always true. There’s a concept of “self-image” that we all hold that we know certain things, act certain ways, and appear to others. But if you’re brave enough to ask people who will be VERY honest with you, you may find that you are perceived differently than you think others perceive you. You may find that sometimes you are even deceiving yourself. You probably know people who believe their rudeness is interpreted as being “straightforward with people” and so on. They think of themselves one way, you think of them another. That’s happening to you, too.
There are lots of ways to find this information out. If you search on “Self assessment” on the web and for the career books here on InformIT, you’ll find lots of ways to determine what your strengths and weaknesses are, as well as your personality and professional traits. Never trust a single source with this information take a few tests and see what pops out in common. Find someone who knows you that will be honest with you and give them “absolution” for whatever they tell you.
Why is this important for a development plan for SQL Server? Well, for one thing, you’ll find out if working in technology and with databases is something you really want to do. You’ll find out if you are in fact willing to work hard for things you care about. I’ve actually done these exercises myself, and while they can be painful, they are immensely valuable.
There are two tangible benefits for this information that you will find within these tests and exercises. One is that you’ll find the work environment you like best, and the other is that you’ll find out about the way that you learn. All of us have “favored” ways of learning, such as listening, watching, reading or experimenting. Sometimes you have a style of learning that you use in one situation and a different one for another. Having that information will help you create and follow your career plan.
The Importance of Classical or Classroom Education
Many of us have “second level ignorance” on various topics. What that means is that not only do we not know something, we don’t know that we don’t know it. Let me give you an example. I knew that my engine no longer has a carburetor in it to deliver gas to the cylinders like the earlier cars I drove and worked on. Modern engines now use something called fuel-injection that sprays the gas and air into the cylinders of the car to be ignited by the sparkplugs, which causes an explosion that pushes the pistons down, which turns a shaft (called the crankshaft) that eventually drives the wheels. That’s how the car moves forward. I was not ignorant of the existence of the fuel injection system.
But I don’t know a lot about the fuel injection system. I have “first level ignorance” about it I know it’s there, but I don’t know precisely how all the pieces work.
When I first tried to work on a fuel injection system, I found out that one of the most important parts of the system is all of the sensors that tell the jets how much air and gas to spray, how hard, and when. I had no idea there were so many sensors involved in the process, or how important they were I was ignorant of their very existence. This is called second level ignorance, because I didn’t even know that I didn’t know about these sensors. And because of that, I might have spent a really long time working on another part of the system, never getting close to fixing it.
We all have this level of ignorance about one thing or another, even about SQL Server, until we learn it. And we come into that learning either by chance, or by “classical” or classroom education. This is the process of someone who knows the area very well, and knows education very well, and knows a little about your situation. They can get you from not evening knowing something exists to knowing that you need to be concerned about it quickly and efficiently.
So we all need some level of classical education, from learning to read and understand basic computer science, to understanding what we don’t know in the first place. You might choose to focus on one area, such as database administration, programming or business intelligence, but even so you should be aware that the other areas exist.
This knowledge isn’t just obtained in a classroom. Working with another person is probably optimal for overcoming second level ignorance, but you can learn to spot opportunities to get rid of it through self-study. I’ll explain some of those in a moment.
Foundation Learning
The first step in any plan is learning as much as you can. Once you have the knowledge of the situation and the opportunities (where you are and where you could be) you can begin to create a step-by-step plan for getting to the desired outcome. So you need a “foundation” to start on for your plan.
First you need to educate yourself about the career itself, and the opportunities it holds. Then you need to understand what skills and knowledge you need to progress from one step to another. For instance, assume that you’ve decided that you want to be a database administrator. You can search the public library, job sites, and employment centers and so on to see where these jobs lie. You’ll find that a database administrator job is available in almost every industry on the planet, in almost every kind of environment there is.
Next you need to know what levels there are for a database administrator. What makes a “junior” DBA different than a “senior” one? Sometimes that’s expressed in years of experience, but of course just doing the same thing year after year isn’t exactly what a company will be looking for. They are looking for the experiences those years bring disasters that happen and are subsequently prevented and so on. Perhaps being exposed to multiple kinds of databases, hardware, performance levels and so on is required. This information all goes at the top of your plan.
Now you need to find out what skills and knowledge you need to make the transition from one level to another. You literally make a checklist of those things, like “Knowing how to back up and restore a database” and check them off.
Those are skills being able to do a task. To have a skill, there is both mechanical and mental knowledge you should have, such as “typing” and “Transact-SQL Syntax.” Those also go in your plan, and get checked off as you learn them and actually perform the tasks. In fact, in my plan I have a place for the skill, the way I learned it, and how I put it into place.
Continuing Education
As time goes on, you’ll begin to fill up your plan. You now know how to back up and restore a database, and when to do that. You may even no longer need someone to show you how to do these things.
This is where the “self-education” comes into play, and where most people stop progressing in their career. They’ve learned the basics of their job, and the steps they need to follow to make it through the day. After they no longer struggle, they expect to be rewarded for their efficiency. But they no longer learn new things. I see this level of employee every day “I don’t need to learn PowerShell,” they tell me, “I already know how to work with T-SQL and graphical tools. I just don’t see the need in it.”
But life isn’t stagnant, and technology changes all the time. It’s up to you to investigate every new area you can in your career field, from new ways to do things to whole new architectures, like “the cloud” or whatever new buzzword is out. It’s OK if you decide not to pursue them but it’s no OK not to know about them. That’s second level ignorance again, and not something a professional can tolerate.
It’s at this point you need to develop the next most important skill after foundational knowledge learning to learn.
We’re all born with the ability to learn, but just enough to sustain ourselves. It takes a concentrated effort to decide to learn more about the learning process itself, and here’s where that self-assessment you did earlier comes into play. Are you someone who needs to be shown things? Would you rather hear it than see it? Do you have to try it yourself? Or a mixture of all these?
Learning is a skill, and as such it needs to be learned (ironically) and practiced. There are several techniques for learning, and many of these are taught in higher education or in classroom courses. I highly advise that you take one of these, even if you have to pay for it out of your own pocket it benefits you tremendously in the long run. I’ll point out a few of these resources at the end of this tutorial, and you should investigate those before you continue on.
In the next installment I’ll explain how you can take the basics of what you’ve learned and move forward with your career plan, resources for self-education for SQL Server, and what a career plan looks like.
InformIT Articles and Sample Chapters
Warren Wyrostek has a great series on careers here on InformIT. Here’s one of his articles on a checklist he uses for energizing your career, A Career Changer's Checklist - 12 Common Sense Questions to Find Your Career: What Are You Waiting For? What Is Stopping You? (Lift Off and Enjoy the Ride!).
Books and eBooks
Warren Wyrostek has turned his entire article series into an excellent digital download: Career-Changer's Checklist: Twelve Common-Sense Questions to Find Your Career.
You’ll find Four Secrets to Liking Your Work: You May Not Need to Quit to Get the Job You Want an excellent resource for learning more about yourself.
Online Resources
Careerbuilder has a wonderful set of resources for building your career. Check them out here.