SQL Server Magazine February 2003

    Options
Testing Stored Procedures
In this issue, we explain why and how to unit-test your stored procedures, introduce a "poor man's" SQL Server monitoring solution, explore tried-and-true techniques for working with NULL values in Visual Basic .NET and ADO.NET, and much more!
  Subscribe
Renew
Master CD
Change Mailing Address
Customer Service
Back Issues
Article Reprints
Group Discounts

Browse Archived Articles By: Issue | Author | Subject | Department |



[Focus]

Unit-Test Your Stored Procedures

You're the one on the front lines; who better to drill your code to peak performance? Here's why and how to put stored procedures through their paces.




[Features]

Automatic Pilot

Manually customizing replication agent job steps speeds up snapshot replication, but it's impractical for a large-scale environment. Learn how to automate this customization in the last article of a three-part series.

Introducing Poormon

Monitoring software for SQL Server can be costly. But you can implement a “poor-man’s” monitoring solution and view SQL Server performance data on the Web.

Much ADO About Nothing

Developers need to know how to test for and set NULL values in their applications. Here are some tried-and-true techniques you can use in Visual Basic and Visual Basic .NET.




[SQL Server Savvy]

License All Your Processors

You have to license all your processors, even if you aren't using all of them to run SQL Server.

Use Extended Properties to Create a Data Dictionary

SQL Server 2000's extended properties let you define and manipulate user-defined properties. You can use these user-defined properties to create a homegrown data dictionary.

Use GROUP BY to Transform Tables

To transform tables, Brian Moran explores a handy trick that uses the GROUP BY clause.




[Editorial]

A New Language

None of SQL Server’s upcoming programming-productivity enhancements will have more impact on DBAs than the .NET Common Language Runtime (CLR). This new capability begs the question, “Which .NET language should DBAs learn?”




[Reader to Reader]

Hidden Power of UNION

Think UNION is useful only for combining results from different sources? This tip shows that using UNION is sometimes the quickest way to select from just one table.




[SQL Seven]

Past, Present, and Future

Michael Otey revisits SQL Server’s six major releases, then looks to the future and the upcoming Yukon release.




[Inside SQL Server]

Text Pointers

Large data objects can be tricky to store and even trickier to access again. Here are some pointers that can help you make sense of it all.




[T-SQL Black Belt]

Counting the Costs

You can use date and time manipulations for calculating call costs across different rate periods as long as you stick to the basics.




[Answers from Microsoft]

Adding Columns to Replicated Tables

How can you add a column to a replicated table without reinitializing the entire publication? The SQL Server Development Team has an answer.

Automating Defragmentation

Manually checking and defragmenting your database's tables can be a laborious process. Here's how you can eliminate fragmentation from the start and how to automate defragmentation when you need it.

Dividing an Update into Batches

Here's how to use the ROWCOUNT setting to divide a long update into batches and maintain good performance.




[Exploring XML]

OpenXML's @mp:id Meta-property

Inserting hierarchical data from an XML document into relational tables that have primary key/foreign key relationships can be difficult. Read on to see how you can use OpenXML's @mp:id meta-property to overcome the challenge.




[Letters]

Letters, February 2003

Readers write in about the difference between the smallint and tinyint data types and about being sensitive to case in code.




[New Products]

New Products, February 2003

Check out the latest SQL Server-related new and improved products.



 

ADS BY GOOGLE