SQL Server Magazine UPDATE, December 9, 2004--SQL Server 2005 CTP 2

Brian Moran talks about the latest SQL Server 2005 Community Technology Preview, participate in this month's reader challenge, get the results of our latest instant poll, and more!

ITPro Today

December 8, 2004

12 Min Read
ITPro Today logo in a gray background | ITPro Today

To ensure that future email messages you receive from SQL Server Magazine UPDATE aren't mistakenly blocked by antispam software, be sure to add [email protected] to your list of allowed senders and contacts.

This email newsletter comes to you free and is supported by the following advertisers, who offer products and services that might interest you. Please take a moment to visit these advertisers' Web sites and show your support for SQL Server Magazine UPDATE.

This Issue Sponsored By

Disaster Recovery Toolkit for the SQL DBA
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNJ60Aa

Free SQL Server 2000 Training!
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWE0A3

ALERT: Are You Coding Secure Web Applications?
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BM8R0Aj

Editor's Note: What do you think of SQL Server Magazine's Web site?
Please take a few moments to fill out our online survey. Last February, we launched a new design for SQL Server Magazine's Web site. Now that you've used it for several months, we'd like your honest opinion about its effectiveness to you as a SQL Server professional. Now's your chance to officially sound off about the current design and make an impact on the next version. We appreciate your feedback! http://www.zoomerang.com/survey.zgi?p=WEB223YPEAZA3D

December 9, 2004

1. Perspectives

  • More SQL Server 2005 Bits

2. News and Views

  • SQL Server Magazine Welcomes Kevin Kline to our Web site!

  • Results of Previous Instant Poll: Base Salary

  • New Instant Poll: Microsoft's Community Technology Previews

3. Reader Challenge
- Winners of the December Reader Challenge: A Dashboard Application - January Reader Challenge: Eliminating Recompilation

4. Announcements

  • Get Access to Every SQL Server Magazine Article

  • Special Holiday Subscription Offer

5. Peer to Peer

  • Hot Tip: Foreign Key Constraints (Without NOCHECK) Boost Performance and Data Integrity

  • Hot Article: The 64-Bit Tidal Wave

  • Hot Threads

6. Events Central

  • SQL Server Summit in Dallas, TX—January 18, 2005

  • Newest SQL Server Web Seminar: Data Protection & High Availability

7. New and Improved

  • Quickly Recover from Downtime and Disasters

  • Transform Data Between XML and Relational Databases

  • Build, Compare, and Synchronize Databases

Sponsor: Disaster Recovery Toolkit for the SQL DBA
Written by SQL Server expert Brian Knight, this handy, "how-to" toolkit contains comprehensive first-hand advice and scripts for SQL Server DBAs that need to build and implement a successful disaster-recovery plan. With his tips and quips, Brian walks the DBA through real-world scenarios using an easy, step-by-step approach. And as part of the download, you'll receive four scripts, which will greatly speed your recovery time! Download it today, compliments of Lumigent:
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNJ60Aa

1. Perspectives


  • More SQL Server 2005 Bits


    by Brian Moran, [email protected]

Last week, Microsoft released the second SQL Server 2005 Community Technical Preview (CTP). I wrote about the CTP program a few weeks ago (see "Technology Previews Deliver Pre-Beta 3 Peeks at SQL Server 2005" at http://www.windowsitpro.com/article/articleid/44291/44291.html ). Microsoft will release SQL Server 2005 CTP builds more frequently than it does for typical beta cycles, primarily to speed up the feedback cycle so that the company can incorporate as much user input as possible into SQL Server 2005's final release. SQL Server 2005 CTP 2 is now available to all Microsoft Developer Network (MSDN) subscribers. Non-MSDN subscribers can't directly download or acquire the CTP builds, but your local Microsoft field office will probably be open to distributing the bits to customers who are interested in exploring SQL Server 2005—just use your usual channels for communicating with your local Microsoft sales representatives.

The second CTP includes several performance and quality fixes, 64-bit support for Microsoft SQL Server 2000 Analysis Services and Integration Services (formerly Data Transformation Services—DTS), the ability to browse tables and view data directly from the Management Studio interface, a graphical view designer, enhancements to graphical Showplan support, and a new Job Activity Monitor UI in SQL Server Agent.

Microsoft has also released a Technical Preview for SQL Server Express Manager. This is a new, free, database-management tool built on the Microsoft .NET Framework 2.0. Express Manager is designed to manage SQL Server 2000, Microsoft SQL Server 2000 Desktop Engine (MSDE), and SQL Server 2005 Developer and Express Edition databases on both local and remote computers. This tool is a boon to MSDE users who, for the most part, have been relegated to using unlicensed copies of Enterprise Manager, buying third-party tools, or relying on the command line to manage MSDE.

The Express Manager CTP supports SQL Server 2000, but remember that using beta software in production environments isn't smart unless you carefully control and manage the software with support from Microsoft. You can find the Express Manager CTP download athttp://www.microsoft.com/downloads/details.aspx?FamilyID=8f92556a-6c3b-47d2-9929-ecdc5a4d25ae&DisplayLang=en .

Free SQL Server 2000 Training!
Become a more efficient, effective developer with AppDev's award-winning self-study SQL Server training! See AppDev quality for yourself—download 3 hours of training immediately or request a CD-ROM by mail (each a $95 value) FREE! Click the link below for your FREE SQL 2000 Training!
http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWE0A3

2. News & Views


  • SQL Server Magazine Welcomes Kevin Kline to our Web site!

Kevin Kline, the director of SQL Server technology for Quest Software and president of the Professional Association for SQL Server (PASS), shares his ideas three times a week in our new blog, "In a Nutshell." Kevin's first posts include a resource to help you manage your email and tips for figuring out which service packs and hotfixes a system is running. Check it out at
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNXD0A3

  • Results of Previous Instant Poll: Base Salary


"What do you expect your total base salary compensation to be in 2004?" Here are the results from the 309 votes (deviations from 100 are due to a rounding error):

  • 6% Under $30,000

  • 14% $30,000 to $50,000

  • 35% $50,000 to $75,000

  • 29% $75,000 to $100,000

  • 15% More than $100,000

  • New Instant Poll: Microsoft Community Technology Previews


"Are you participating in Microsoft's Community Technology Preview (CTP) program for SQL Server 2005?" Go to the SQL Server Magazine home page ( http://www.sqlmag.com ) and submit your vote for

  • Yes

  • No, but I plan to

  • No, and I don't plan to

3. Reader Challenge


Winners of the December Reader Challenge: A Dashboard Application by Umachandar Jayachandran, [email protected]

Congratulations to Dan Barrett and Anith Sen, an independent database consultant in Cordova, Tennessee. Dan won first prize of $100 for the best solution to the December Reader Challenge, "A Dashboard Application." Anith won second prize of $50. You can read a recap of the problem and the solution to the December Reader Challenge at
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWF0A4

  • January Reader Challenge: Eliminating Recompilation


Now, test your SQL Server savvy in the January Reader Challenge, "Eliminating Recompilation" (below). Submit your solution in an email message to [email protected] by December 16. Umachandar Jayachandran, a SQL Server Magazine technical editor, will evaluate the responses. We'll announce the winner in an upcoming SQL Server Magazine UPDATE. The first-place winner will receive $100, and the second-place winner will receive $50.

Here's the challenge: Sam, a database architect for a company that auctions products online has a database hosted primarily on SQL Server 2000. The Web site for the auctions is transactional in nature. While investigating a performance problem, Sam notices lots of stored procedures performing various operations with temporary tables. By using SQL Server Profiler, Sam determines that several large stored procedures' performance problems are caused by excessive recompilations during execution. To see the kind of problem Sam's dealing with, download the sample stored procedure at http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWF0A4 . You can observe the behavior in Sam's production environment by setting up a Profiler trace that has the following events:

 SP:Starting   RPC:Starting   SP:StmtStarting   SP:Recompile   SP:Completed   RPC:Complete   Objects:Auto Stats

Observe the events during the sample stored procedure's first execution because the sample code is simple, so subsequent executions will use the cached plan. The recompilation of the stored procedure when it hits the SELECT statement mimics the behavior in the production system. Assuming that Sam wants to retain the temporary table logic and make minimal changes to the stored procedure, how can he reduce or eliminate the recompilation of the stored procedure for the SELECT statements that are accessing the temporary tables?

4. Announcements


Get Access to Every SQL Server Magazine Article
Order the newest version of the SQL Server Magazine Master CD and receive portable access to every SQL Server Magazine article ever written! As an added bonus, you'll also receive exclusive scripting and security content—a $30 value for FREE. Subscribe to this helpful resource today:
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNJ80Ac

Special Holiday Subscription Offer
Order SQL Server Magazine today and get 30% off the cover price! Along with these great savings, you'll get a free t-shirt and will receive free access to every article ever published in the magazine—online! This is a limited time offer, so hurry and subscribe now:     http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWG0A5

5. Peer to Peer


  • Hot Tip: Foreign Key Constraints (Without NOCHECK) Boost Performance and Data Integrity

    by Brian Moran, [email protected]

Here are two examples of using foreign key constraints to improve performance. The first one works correctly, but the second (because it adds NOCHECK) returns incorrect results.

Read the rest of this tip today at
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWH0A6

  • Hot Article: The 64-Bit Tidal Wave


Unlike Intel's 64-bit Itanium processor, which was optimized for 64-bit processing at the expense of 32-bit compatibility, AMD's 64-bit Opteron and Intel's EM64T Xeon processors offer full 32-bit performance along with 64-bit compatibility. Both chips extend the design of the 32-bit x86 architecture to 64 bits, with the new 64-bit extensions generically called x86-64 or x64. Although these chips don't offer the scalability of the 64-bit Itanium, systems built around these chips are a major upgrade from today's 32-bit systems. The 64-bit wave is about to break. In his December editorial, "The 64-Bit Tidal Wave," Michael Otey says that if you're considering a SQL Server upgrade in the next year, one of these 64-bit platforms should be on your short list. Read this article today athttp://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWI0A7

Hot Threads: Check out the following hot threads, and see other discussions in our 30 SQL Server forums.
    http://www.windowsitpro.com/sqlserver/forums/

Precision Problem
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWJ0A8
Performance Difference: T-SQL vs. Stored Procedures
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWK0AA
Job Hangs but Execute DTS Works—Help!
     http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWL0AB
Cannot Shrink Log File
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWM0AC
Storing Special Characters
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWN0AD
Index on a Bit Column
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWO0AE

  • Hot Spot

ALERT: Are You Coding Secure Web Applications?
Learn why 70% of today's successful hacks involve Web Application attacks such as: SQL Injection, XSS, and Parameter Manipulation. All undetectable by Firewalls and IDS! Get the Top 10 Most Critical Code-Based Web Application Vulnerabilities:
http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BM8R0Aj

6. Events Central


  • SQL Server Summit in Dallas, TX—January 18, 2005


This year's summit will focus on exciting new features of the next release—SQL Server 2005. Summit features four tracks: Business Solutions, DBA, Developer-DBA, and Business Intelligence. Keynote delivered by Bill Baker, Microsoft General Manager of SQL Server. Call 1-877-MSEVENT or register online (reference event code: 1032256747) at
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BMrm0AA

  • Newest SQL Server Web Seminar: Data Protection & High Availability


Sign up today for this free, 1-hour Web Seminar and learn how to ensure your SQL Server applications are always highly available. You'll also discover ways to best protect your mission-critical data and gain a better understanding of the associated metrics helping to quantify the value of your SQL Server-based application data. Register now:
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BNWP0AF

See the complete Windows IT Pro Network guide to Web and live events
http://www.winnetmag.com/events/

7. New & Improved


    by Dawn Cyr, [email protected]

  • Quickly Recover from Downtime and Disasters


NSI Software announced Double-Take 4.4, host-based data-replication and failover software that lets organizations recover data quickly from day-to-day downtime and disasters. New features in the latest release include new compression capabilities that allow on-the-fly changes of compression levels so that users can manually alter compression levels for different times of day; provide the ability to set compression levels for individual servers whose data won't benefit from compression; and automatically determine whether data will benefit from compression. In addition, Double-Take's management console lets administrators in large IT environments filter server views so that multiple administrators can manage selected servers. New email notifications let administrators receive crucial updates through PDAs, cell phones, and standard email clients. The product automatically checks the NSI Web site for upgrades and patches, then presents the new options for administrators to review and install at the same time as the primary software. Pricing for Double-Take 4.4 starts at $2495 per license. For more information, contact NSI Software at 888-674-9495 or [email protected].
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BISb0AO

  • Transform Data Between XML and Relational Databases


HiT Software announced Allora 4.0, software that facilitates bidirectional data-transformation between XML formats and relational databases. The latest release includes a wizard-driven code-generation tool that creates executable code to perform XML-to-RDB and RDB-to-XML transformations. In addition to mapping between XML schemas or DTDs and tables or SQL query results, the product offers mapping between XML documents and stored procedure parameters and result sets. Other additions include new lookup rules in the product's set of customization options and increased support for advanced features ofXML schemas and database structures, including support for additional data types. The product supports 19 different database platforms, including SQL Server, Oracle, IBM DB2, and MySQL. For pricing and other information, contact Hit Software at 408-345-4001 or [email protected].
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BLkD0AL

  • Build, Compare, and Synchronize Databases


Innovartis announced DB Ghost 3.1, change-management software for SQL Server. The software lets you verify, report on, and automatically deploy changes to databases; compare databases or database schemas; build new databases; and upgrade databases even if they aren't on your network. New DB Ghost features in this release include multiple directories that you can choose for SQL objects to let the product work with any source-code organizational structure; the ability to switch off collation comparisons; the ability to enforce a column ordinal position; an enhanced UI; the ability to synchronize databases under all known conditions; and the ability to abort processing when a change process fails. A 30-day trial copy of DB Ghost 3.1, which includes free technical support, is available at http://www.innovartis.co.uk/evaluation.aspx . Pricing for DB Ghost starts at $795 for a single-machine license. For more information, contact Innovartis at 44(0) 208-241-1762 or [email protected].
    http://list.windowsitpro.com/cgi-bin3/DM/y/eibm0McMHC0Kj40BEZO0A7

Contact Us


SQL Server Magazine UPDATE is brought to you by SQL Server Magazine, the only magazine devoted to helping developers and DBAs master new and emerging SQL Server technologies and issues. Subscribe today.
http://www.sqlmag.com/rd.cfm?code=00ep214xeb

Manage Your AccountYou are subscribed as #EmailAddr#. To unsubscribe from this email newsletter, click here /#Mailing:UnsubEmail

To make other changes to your email account such as changing your email address, updating your profile, and subscribing or unsubscribing to any of our email newsletters, simply log on to our Email Preference Center.
http://email.winnetmag.com/winnetmag/winnetmag_prefctr.asp

View the SQL Server Magazine Privacy Policy.
http://www.winnetmag.com/aboutus/index.cfm?action=privacy

SQL Server Magazine is a division of Penton Media, Inc., 221 East 29th Street, Loveland, CO 80538, Attention: Customer Service Department

Copyright 2004, Penton Media, Inc. All Rights Reserved.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like