SQL Server, T-SQL, Development, DBA and Career Resources

Human Created Content by Industry Experts for Developers, DBAs and Analytics Professionals

Accessing the Windows File System from SQL Server

Within my SQL Server T-SQL stored procedures and scripts I need to find out the files in a specific directory. What are some approaches to do so? I need some flexibility to capture the file names and general information for subsequent processing. What

SQL Server Disaster Recovery Planning and Testing

One old adage that has stood the test of time is you will never know until you try. I would have to say that is the case with a disaster recovery plan. I would be surprised to hear any company relying on IT does not have a disaster recovery plan. Som

Auditing Windows Groups from SQL Server

Managing database security should be part of every DBAs job. With SQL Server you have the ability to use either SQL Server and Windows or Windows only security. The advantage of using Windows security for your SQL Servers is that you can take advantage

Obtain Exclusive Access to a SQL Server Database

In your earlier tip (Die Sucker - Killing SQL Server Process Ids (spids)) you outlined an option to kill spids (system process ids) to perform database restores or database maintenance when exclusive use of the database is needed. Do any other options ex

Migrating a SQL Server Instance

I need to migrate an instance of SQL Server 2000 due to a hardware issue that I am having. What are the steps that I should take before, during and after the process? What pit falls should I watch out for?

SQL Server DBA Checklist

I am looking for items that I should address on a daily basis on my SQL Servers. As such, what are the critical aspects of SQL Server that should I check on a daily basis? Should I perform additional checks on a weekly, monthly or yearly basis? How can

How to get index usage information in SQL Server

Databases have two primary storage needs; data pages and index pages. Understanding and viewing the actual data in your tables is pretty straightforward by running some sample queries to get an idea of what columns are being used as well as what type of

The Value of the MCDBA and MCITP DBA Certification

At a recent Northern Virginia SQL Server user group meeting, a debate was held about the Microsoft Certified Database Administrator Microsoft Certified Information Technology Professional : Database Administrator being a 'must-have' for all SQL Server DBA