Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

Bill McEvoy

Bill McEvoy is Master Chef/DBA for the Cooking with SQL Web site. He's been a DBA since SQL Server 4.2, and he specializes in batch processing and performance tuning.

Email: bill@cookingwithsql.com

My Latest Content
My Latest Comments



Author Articles

T-SQL 101: Stored Procedures

By Bill McEvoy, 04/28/2009

The final lesson in the T-SQL 101 series shows you how to create and execute stored procedures that get data into and out of databases.

T-SQL 101: Built-In Functions

By Bill McEvoy, 09/29/2008

T-SQL offers three types of built-in functions, including scalar functions. Scalar functions let you perform a wide variety of operations, such as retrieving dates and replacing ...

T-SQL 101: The CASE Function

By Bill McEvoy, 08/29/2008

Using T-SQL's CASE function, you can quickly transform numerical codes and other hard-to-decipher data into meaningful information.

T-SQL 101: Views

By Bill McEvoy, 08/28/2008

The virtual nature of a view is its greatest strength and its greatest weakness. Here's what you need to know to create views and use them wisely.

Indexed Views vs. Regular Views

By Bill McEvoy, 08/28/2008

Learn how indexed views differ from regular views.

Q: How do I retrieve values from a table and store the results in a string?

By Bill McEvoy, 08/28/2008

Learn how to retrieve values from a table and store the results.

T-SQL 101, Lesson 6

By Bill McEvoy, 07/30/2008

Creating a table "the old fashioned way" leads to a better understanding of the table and its columns. Plus, the resulting T-SQL code documents the table's structure and lets you ...

T-SQL 101, Lesson 5

By Bill McEvoy, 06/27/2008

Understand the differences between inner, outer, and cross joins before you use them in your queries.

T-SQL 101, Lesson 4

By Bill McEvoy, 05/28/2008

Thanks to the GROUP BY clause, you can write SELECT queries that produce detailed reports.

T-SQL 101, Lesson 3

By Bill McEvoy, 04/29/2008

SELECT queries aren't just for retrieving data. You can also summarize that data by incorporating COUNT, MIN, MAX, AVG, and SUM functions into SELECT queries.

Take the Drudgery Out of Making Sure Your Databases Are Being Backed Up Properly

By Bill McEvoy, 04/29/2008

Ensuring that databases are being backed up properly is an important but time-consuming task, especially for DBAs who manage multiple servers and databases. The sp_ShowBackups ...

2 Stored Procedures to Tune Your Indexes

By Bill McEvoy, 03/28/2008

If you have to perform a full index analysis, here are two T-SQL stored procedures you can use to get detailed information about the indexes in a single table or an entire ...

T-SQL101, Lesson 2

By Bill McEvoy, 03/28/2008

Using a database named MyDB, a table named MyTable, and some dummy tables, you can learn how to create T-SQL queries that insert new data, update existing data, and delete old ...

T-SQL 101, Lesson 1

By Bill McEvoy, 02/28/2008

Whether you are new to T-SQL or you just want to brush up on the basics, you'll want to read and save this guide that walks you through how to write SELECT statements. Learn how ...

Stored Procedure Documents Scheduled Jobs in SQL Server

By Bill McEvoy, 01/25/2008

Using SQL Server Management Studio (SSMS) to document job schedules involves a lot of mouse-clicking and cutting and pasting. You can avoid all that hassle by using the ...

Take Advantage of Osql and Bcp Without Having to Remember All Their Command-Line Options

By Bill McEvoy, 10/25/2007

Here's a stored procedure that consolidates the basic functions of osql and bcp. Switching between these utilities' output is simply a matter of changing the value of an input ...

Searching the Web for SQL Topics? Give SQL Hunter a Try

By Bill McEvoy, 04/19/2007

Here's a search engine that targets SQL-related Web sites, which means you can enter fewer parameters when conducting searches for SQL material.

A Quick and Easy Way to View Errorlog Files

By Bill McEvoy, 03/22/2007

Using sp_ShowErrors to view SQL Server errorlog files is time-saving alternative to manually reviewing them in Enterprise Manager.

Retrieve Triggers from the SQL Command Prompt

By Bill McEvoy, 02/23/2007

The sp_ListTriggers stored procedure lets you list all the triggers in the current database or the triggers in a specific table.

Prove That the Database Isn't to Blame

By Bill McEvoy, 09/21/2006

If you've ever had users call to tell you that a SQL Server database is slow, you'll likely find sp_Now a handy tool. This stored procedure determines what processes are currently ...



White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.