THIS ISSUE SPONSORED BY
Need to Configure a Server for Microsoft SQL Server?
Free Geo-Clusters Paper from Unisys
(below NEWS AND VIEWS)
SPONSOR: NEED TO CONFIGURE A SERVER FOR MICROSOFT SQL SERVER?
Check out the online ProLiant Transaction Processing Sizer for Microsoft SQL Server 2000 from HP. This automated tool will help you determine an optimum hardware configuration for your database server—based on YOUR requirements. Through an interview process, a set of hardware configurations is developed using patented system sizing and configuration technology. Specific configuration information and performance recommendations are provided for each configuration. Developed by HP in our software integration lab, this tool supports the ProLiant server family and appropriate options. For more information, visit
October 24, 2002—In this issue:
- New Support Lifecycle Policy Eases Planning
2. SQL SERVER NEWS AND VIEWS
- Privilege-Elevation Vulnerability in SQL Server Web Tasks
- Results of Previous Instant Poll: Storage Administration
- New Instant Poll: XML Knowledge
- Want to Know How Others Are Using SQL Server?
- Join the SQL Server Magazine Research Panel
4. HOT RELEASES (ADVERTISEMENTS)
- LogiXML—lgxAppDev 5.0
- Increase Server Reliability and Uptime—Free
- Attend SQL Server Magazine LIVE! and Try for a Harley
- What's New in SQL Server Magazine: Changing Times
- Hot Thread: Performance Problems with SQL Server 7.0 SP4
- Tip: Avoiding Direct System Table Access
6. NEW AND IMPROVED
- Determine SQL Worm Vulnerability
- Convert Databases to HTML or PDF Documents
7. CONTACT US
- See this section for a list of ways to contact us.
(contributed by Brian Moran, news editor, firstname.lastname@example.org)
Customers often ask me how long Microsoft will support their particular SQL Server release, but it hasn't always been easy to find or understand that information. Past support policies were geared to version-based support, which ties support to the release dates of future products. For example, in its RTM–1 release to manufacturing policy, Microsoft supported the current product and the immediately preceding release. Version-based support is easier for a software-maintenance team to plan for because they know the two code bases for which they must maintain their expertise. However, version-based support tends to be unpredictable for customers, who must try to predict ever-moving ship dates. When you combine the unpredictability of ship dates with different SQL Server releases that run on different OSs, support becomes difficult to master.
Last week, Microsoft showed its commitment to streamlining its product-support policies by rolling out its new Support Lifecycle policy. The policy, which replaces version-based product-support policies for most products, provides consistent and predictable timetables that are tied to a product's date of general availability. Now, companies can consider SQL Server product-support deadlines when they undertake their planning and budgeting processes. For business and development software, including SQL Server, the Support Lifestyle policy comprises the following three phases of support:
- Mainstream support includes all the support options and programs that customers receive today such as no-charge incident support, paid incident support, support charged on an hourly basis, support for warranty claims, and hotfix support. Mainstream support runs for 5 years from the date of general availability.
- Extended support is available for products whose mainstream support phase has ended, as long as the customer is on the latest or immediately preceding service pack. This option includes assisted support (for which Microsoft might charge an hourly fee) and might include hotfix support. To receive nonsecurity hotfix support, customers must purchase an extended hotfix support contract within 90 days after a product's mainstream support phase expires. Microsoft won't accept requests for warranty support, design changes, or new features during the extended-support phase. This phase lasts an additional 2 years after mainstream support ends.
- Self-help online support lets customers query Microsoft Knowledge Base articles and access such resources as troubleshooting tools and FAQs. This support phase is available for a minimum of 8 years after the product's date of general availability.
Microsoft tells me that customers should expect a regular release of service packs for SQL Server products during the first 3 to 4 years of mainstream support and a final service-pack maintenance rollup sometime near the end of the five years. Microsoft has no plans to release service packs during the extended support phase or beyond.
What does the new policy mean for SQL Server? Here are two examples. SQL Server 7.0 Service Pack 4 (SP4) mainstream support is scheduled to end on March 31, 2004, and mainstream support for SQL Server 2000 SP2 is scheduled to end on December 31, 2005. The optional extended support continues 2 years beyond those dates for both products, and Microsoft promises to provide online help resources for an additional 3 years beyond those dates. To find more about three-phase product support, as well as information about service-pack and security-patch support and custom support relationships, go to Microsoft's Product Support Lifecycle page at http://support.microsoft.com/lifecycle. You'll find product-support time frames for SQL Server at http://support.microsoft.com/default.aspx?scid=fh;en-us;obsoletesrvr .
Microsoft's new policy of tying support phaseout to a product's original launch date is a welcome improvement over earlier version-based policies that were difficult to interpret. For the SQL Server community, long-term product planning just got a little smoother.
SPONSOR: Free Geo-clusters paper from Unisys
FREE EXPERT ADVICE: There are no systems more important than database servers when it comes to high availability and business continuance. After all, your business could come to a halt if your databases were down for long. That's particularly true when it comes to applications that need data around the clock or around the world — especially your Internet based ones. And with security such a vital issue today, clustering and dispersing your Windows-based servers across distances is the best protection you can have. Let the experienced designer/engineers at Unisys show you how to do it successfully in this detailed, comprehensive white paper on Geographically Dispersed Clusters.
2. SQL SERVER NEWS AND VIEWS
David Litchfield of Next Generation Security Software discovered a vulnerability that lets users with PUBLIC permissions execute the xp_runwebtask extended system stored procedure and perform inserts, deletes, and updates on the Web tasks table, as reported by Ken Pfeil on the http://www.secadministrator.com/articles/index.cfm?articleid=27033Security Administrator Web site. Attackers can elevate their privileges by updating a database owner's Web task and executing the task through the stored procedure. Attackers could then, for example, run OS commands or add themselves to the SYSADMIN group. The vulnerability affects SQL Server 2000 and 7.0, Microsoft Desktop Engine (MSDE) 2000, and Microsoft Data Engine 1.0. Microsoft has released Security Bulletin MS02-061 (Elevation of Privilege in SQL Server Web Tasks) and recommends that affected users apply the cumulative patch mentioned in the bulletin. For complete information, go to http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS02-061.asp , and for details of the vulnerability discovery, go to http://www.nextgenss.com/advisories/mssql-webtasks.txt
Sponsored by Unisys
The voting has closed in SQL Server Magazine's nonscientific Instant Poll for the question, "How much time do you spend per day on storage administration?" Here are the results (+/- 1 percent) from the 187 votes:
- 1% All my time
- 2% 6-7 hours
- 3% 3-5 hours
- 51% 1-2 hours
- 43% None
The next Instant Poll question is "How familiar are you with XML?" Go to the SQL Server Magazine Web site and submit your vote for 1) I've used XML in a project, 2) I understand XML, including the data model, parsers, and technologies, 3) I'm just starting to learn about XML, 4) I've heard the name and know that XML is similar to HTML, or 5) I don't know anything about it.
SPONSOR: Team Approach
Trying to coordinate shared resources manually? Computer Associates International, Inc. offers the first multi-user modeling environment making large-scale modeling possible: the AllFusion(tm) Model Manager. Repeatable modeling success depends upon the ability to share results and actively promote standards. Easy to set up; platform- and network-independent; sits on your choice of relational databases. Visit
http://www.ca.com/newallfusion or call 1-800-783-7946.
(brought to you by SQL Server Magazine and its partners)
Check out what other companies are doing with SQL Server in the Real World Success Stories case-study supplement. Detailed accounts of successes are included from large and small companies using SQL Server—this is an opportunity to find pertinent and concrete ways to implement SQL Server. Click here!
You can participate in this industry research panel by providing market input and commenting on trends in the industry. Industry-leading companies also sponsor research studies to tap into your expertise concerning your product needs and opinions. Express your views and make your voice heard in the SQL Server community.
4. HOT RELEASES (ADVERTISEMENTS)
Develop .NET applications without knowing web technologies! Use the Model Driven Development (MDD) tool to build an advanced, multi-tier web application—including the user interface pages, logic flow, and the underlying SQL queries.
Fragmentation is the root cause of many system problems, server slowdown being only one of them. Maximize server stability and uptime with Diskeeper Lite disk defragmenter for Windows(R). Download free Diskeeper Lite now.
Access 3 conferences for the price of one. Over 160 sessions to choose from. Last chance to register; event begins Oct. 27. Click here to register and learn how you can win a Harley-Davidson motorcycle.
Devising calculations that deal with dates and times can be fraught with peril. You might want to organize data by the week—but which day of the week is first? It varies by country. Itzik Ben-Gan's T-SQL Black Belt column "Changing Times" describes helpful techniques for grouping weekly data when the first day of the week is dynamic. This article appears in the October 2002 issue of SQL Server Magazine and is available online at
Strange things have been happening since KSW's SQL Server team installed service pack 4 (SP4) for SQL Server 7.0 on a server that also runs IIS. Querying takes longer, CPU usage fluctuates wildly, Web pages load more slowly, and the SMTP server stopped sending out emails. Has a demon invaded the server? Offer your exorcist advice and read other users' suggestions on the SQL Server Magazine forums at the following URL:
(contributed by Brian Moran, email@example.com)
Q. Can I write a script that checks for the existence of an index on a particular table?
A. I recently answered a question like this one on the Microsoft SQL Server public newsgroup at msnews.microsoft.com, and I'd like to share my answer here for two reasons. First, I want to show a convenient way to solve the problem. Second, and perhaps more important, I want to explain why referencing system tables directly can be a bad idea.
Here's a simple query that shows how you can determine whether an index called CustomerID exists on the Northwind database's Orders table:
( object_id('northwind..orders') ,
'CustomerID' , 'IndexId' )
This query returns the IndexId of the index if the index exists and returns NULL if the index doesn't exist. The INDEXPROPERTY()function belongs to the family of functions called metadata functions. For more information about these functions, see the "Meta Data Functions" section of SQL Server Books Online (BOL). You'll find several helpful functions that let you query a variety of system-related data.
The newsgroup thread I responded to included the following script as a possible solution to the problem:
LISTING 1: Script That Checks for the Existence of an Index on a Specified Table
FROM sysindexes I,
WHERE I.id = O.id
AND O.name = 'TableName'
AND I.name = 'IndexName'
This script would find the information you're looking for, but it requires you to directly query the sysindexes system table. I admit that I regularly query system tables, but it's a nasty habit that I'm trying to break. Microsoft has been warning us for years that we shouldn't query system tables because they're undocumented and could change in future releases. Lately, the company has been mumbling about making good on that promise in the next release of SQL Server, code-named Yukon. I'm trying to rid my queries of direct references to system tables by using system procedures, system functions, and other documented techniques for accessing system data.
Send your technical questions to firstname.lastname@example.org.
6. NEW AND IMPROVED
(contributed by Carolyn Mader, email@example.com)
eEye Digital Security developed a free tool to help you determine if your systems are vulnerable to the SQL Worm that can infect SQL Server. The Retina SQL Worm Scanner can scan as many as 254 IP addresses at once. The scanner alerts you when it finds a vulnerable IP address. Then, you can double-click the IP address and find information about how to fix the vulnerability. eEye Digital Security has also developed a special version of the Retina SQL Worm Scanner, Class B and A. The Class B and A scanners can scan an entire Class B and A subnet at one time. The Class B and A scanners are available for purchase by request only. Contact eEye Digital Security at 949-349-9062 or 866-339-3732.
XlineSoft released DBtoHTML Express 3.0, software that lets users convert all major databases to HTML or PDF documents. The program is a template-based tool that can convert database files to static, search-enabled documents. DBtoHTML Express establishes a tabbed interface, in which you can generate HTML documents. After you connect to your database, you can select a table and build an SQL query or load an existing SQL script to run against the data. DBtoHTML Express supports SQL Server 2000, 7.0, and 6.5 and runs on Windows XP, Windows 2000, Windows NT, Windows Me, and Windows 9x systems. Pricing is $129 for a single-user license. Contact XlineSoft at 703-904-8376
7. CONTACT US
Here's how to reach us with your comments and questions:
- ABOUT THE COMMENTARY — firstname.lastname@example.org
- ABOUT THE NEWSLETTER IN GENERAL — email@example.com
(please mention the newsletter name in the subject line)
- TECHNICAL QUESTIONS — http://www.sqlmag.com/forums
- PRODUCT NEWS — firstname.lastname@example.org
- QUESTIONS ABOUT YOUR SQL SERVER MAGAZINE UPDATE SUBSCRIPTION?
Customer Support — email@example.com
- WANT TO SPONSOR SQL SERVER MAGAZINE UPDATE?
More than 102,000 people read SQL Server Magazine UPDATE every week. Shouldn't they read your marketing message, too? To advertise in SQL Server Magazine UPDATE, contact Beatrice Stonebanks at firstname.lastname@example.org or 800-719-8718.
SQL Server Magazine UPDATE is brought to you by SQL Server Magazine, the only magazine completely devoted to helping developers and DBAs master new and emerging SQL Server technologies and issues. Subscribe today.
SQL Server Magazine LIVE!'s full conference schedule is now online.
This real-world conference, packed with best practices, is designed to provide you with the latest SQL Server tools, tips, and real-life examples you need to do your job. Register now and access concurrently run Microsoft ASP.NET Connections and VS.NET Connections for FREE!
Receive the latest information about the Windows and .NET topics of your choice. Subscribe to our other FREE email newsletters.
Thank you for reading SQL Server Magazine UPDATE.