SQL Server Magazine November 2002

    Options
On Target with ADO.NET
Learn how ADO.NET tops dynamic SQL for variable-width crosstab reports and how to get answers quickly by using ADO.NET action commands. Also, see how to use CHECK constraints to validate IP addresses, investigate trace flags, and 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]

On Target with ADO.NET

Trying to keep up with changing data in your reports? You can provide variable-width crosstab reports by using dynamic SQL. But ADO.NET's relational features provide a more flexible, efficient, and secure solution.




[Features]

CHECK It Out

For accuracy and performance, you need to make sure that all IP addresses in your tables are valid. Here's how to write a CHECK constraint that validates character strings containing IP addresses.

Fast Answers

When you write a query, sometimes you want only a yes or no answer. In these cases, instead of using SELECT to return a rowset, you can execute an ADO.NET action command to get the specific information you need quickly.




[SQL Server Savvy]

Lessons from Procedure Code

Reading procedure code can provide valuable tips about how SQL Server works.




[Editorial]

The 64-Bit Era

Already, 64-bit SQL Server running on the Itanium 2 processor with Windows 2000 Advanced Server Limited Edition 1.2 has set a new SAP SD-user benchmark score.




[SQL Seven]

The Best of Web Matrix

Web Matrix is a great way to get your feet wet using ASP.NET without shelling out the money for a full copy of Visual Studio .NET. Here are the seven best things about Web Matrix.




[Inside SQL Server]

Investigating Trace Flags

Trace flags can be helpful for troubleshooting, but make sure you know what they do before you use them.




[Mastering Analysis]

Collaboration Through DSO

From analysis to final decision, every business process requires collaboration among team members. Here’s how you can use DSO to add collaboration features to your next analytic application.




[Solutions by Design]

Seven Deadly Sins

In the early stages of a new career, everyone makes mistakes that prove to be costly lessons. You can shorten your adjustment period by avoiding these hidden traps.




[T-SQL Black Belt]

Identifying Groups

It's a kind of magic: Create four set-based solutions to a common SQL problem.




[Answers from Microsoft]

Calling a Stored Procedure from Another Stored Procedure

Microsoft’s SQL Server development team not only describes how to call one stored procedure from within another in SQL Server 2000 and 7.0 but also presents caveats for maintaining optimum performance in both processes.

Character Limitation in sp_executesql

Microsoft’s SQL Server development team unlocks the key to character limitation when a reader uses a system stored procedure in a script.

Confining an Incremental Counter Value to One Table

If two rows contain the same number, certain queries might fail. Locking in a row’s incremental counter value might be the solution.

Creating and Loading Update Files

Here are two ways to create and load update files to a remote site.

Creating Individual Log-Reader and Distribution Agents

Creating a separate log-reader agent on a database during transactional replication is a no-no, but you can create a new Distribution Agent when you add a new publication.

Inserting Records into Two Tables at Once

You can effectively streamline your INSERT operation by adding records to two tables at the same time, but there’s one pitfall you should watch out for.

Sharing Data Between Two Sites

Microsoft’s SQL Server development team describes two techniques for updating sales data from one business location to another.

Text in Row vs. Varchar or Text

When you want to store text shorter than the 8000-character varchar data type limit, you have three options—depending on your SQL Server release. Microsoft’s SQL Server development team explains the pros and cons of using each.




[Exploring XML]

Filtering Values in XML Views

To organize your database, you usually normalize the data to maintain optimum performance. But XML documents aren’t normalized, they nest their elements instead. So how do you define an XML view on a normalized database? Read on.




[Letters]

Letters, November 2002

Readers ask about an easier way to restore to a new server, how to delete all the rows from two related tables, how to create two time dimensions in a cube, and more.




[New Products]

New Products, November 2002

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



 

ADS BY GOOGLE