October, 2002
In This Issue
Free Oracle Utility: Getting SQL Query Results into an Excel Spread Sheet
Installing & Configuring Oracle9i on the Solaris Platform
Using UTL_SMTP

All articles have been reprinted with the written consent of their respective authors.


Professional Association for SQL Server (PASS)
Washington State Convention & Trade Center - Seattle, WA

November 19-22, 2002
Booth # 201/203
Register Today!

 Click Here for to register.

The largest and only user event exclusively dedicated to SQL Server. November 19-22. Register today!

Free Oracle Utilities

Getting SQL Query Results into an Excel Spread Sheet
By Pavel Luzanov

This months script will help users get SQL query results into an Excel spread sheet.

SET LINESIZE 999 VERIFY OFF FEEDBACK OFF
SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF 
DEFINE table_name = &1

SPOOL &table_name..xls
SELECT * FROM &table_name;
SPOOL OFF

SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON 
SET LINESIZE 80 VERIFY ON FEEDBACK ON

REM Use this command to start Excel from char-mode sqlplus
REM HOST start &table_name..xls

REM Use this command to start Excel from GUI-mode sqlplus
HOST start excel.exe &table_name..xls
Oracle Administration

Installing & Configuring Oracle9i on the Solaris Platform
By Roger Schrag, Database Specialists, Inc.

This paper will walk you through the steps of installing Oracle9i release 2 (Oracle version 9.2.0) in a Sun Solaris SPARC environment. About 90% of the material presented here applies to other platforms as well. Everything you read in this paper is hands on, roll-up-your-sleeves-and-get-busy material for Oracle users who want to get an Oracle database up and running quickly without reading hundreds of pages of documentation and “readme” files.

These steps are meant to get you up and running as fast as possible, while leveraging best practices in order to set up a scalable, robust database environment that offers high performance. In order to keep the steps reasonably simple this paper does not cover Real Application Clusters (RAC), nor does it cover Oracle Internet Directory or Oracle Management Server installation.  Click Here for the paper.  
 


Oracle World Conference
Moscone Convention  Center - San Francisco, CA

November 10-15, 2002
Booth # 10020 & Booth #920
Click Here for more information.


Oracle Development

Using UTL_SMTP 
By Michael Selvaggio

I wrote this package to send email messages from PL/SQL. Using existing examples,  I added the simple ability to pass a query in and return data in the text of the email.  I also allow the passing in of a PL/SQL table for an address list.  Click on the links below for the procedure and a sample execution.

Click Here for the procedure.
Click Here for the sample execution.
 

Have you written a Users Group paper or presentation that you would like to share with your colleagues around the world?  Send your paper to newsletter@quest-pipelines.com for possible publication in the Pipeline Newsletter.  If your article is accepted, it will be mailed to over 28,000 readers and you will receive a free gift from Quest Software as a gesture of our appreciation.
Microsoft SQL Server

Microsoft T-SQL Performance Tuning - Part 2
Optimizing T-SQL Query Performance on Microsoft SQL Server using Indexing Strategies

By Kevin Kline, Quest Software

This article is the second in a series that describes a variety of performance tuning techniques that you can apply to your Microsoft SQL Server Transact-SQL programs. In many cases, you could use the graphic user interface provided in Microsoft SQL Enterprise Manager or Microsoft SQL Query Analyzer to achieve the same or similar results to those described here. However, this series focuses on using Transact-SQL as the basis for our solutions. All examples and syntax are verified for Microsoft SQL Server 2000.

Creating proper indexes is probably the single most critical aspect of T-SQL performance. Adding a new index can very often reduce response time of a query from hours to seconds. This article is all about choosing the best indexes and then analyzing their effectiveness. The SQL Server Optimizer can analyze and choose indexes for you, but it can only choose from existing ones. It is difficult to overstate how important good indexes are to query performance. Spend extra time analyzing and creating best indexes for any query that you expect to show good performance. There is another side of this coin. Poorly chosen indexes result in poor response time and immense aggravation of the same managers and users.

Click Here for the paper.  
 

Project Management Tips & Techniques

Managing Risk - Part II
Tom Mochal, www.tenstep.com 

Each month, Tom Mochal presents a set of project management tips and techniques for handling various aspects of planning and managing a project.  Tom has over 23 years of IT experience.  He has developed a comprehensive, scalable project management process called TenStep, which can be viewed at www.tenstep.com

Risk refers to future conditions or circumstances that exist outside of the control of the project team that will have an adverse impact on the project if they occur. In other words, whereas an issue is a current problem that must be dealt with, a risk is a potential future problem that has not yet occurred. 

Click Here for tips and techniques on managing risk.
 

News & Events

Free Seminar - Running Fast & Lean with DB2 on the Mainframe
 

Attention mainframe DB2 DBAs: is your DBA team just a little too lean? Quest Software is proud to invite you to the Free Seminar: Running Fast and Lean with DB2 on the Mainframe where you’ll learn proven techniques for increasing your productivity at a minimal cost with one comprehensive product: Quest Central™ for DB2. Join the Quest Software DB2 team and renowned SQL tuning expert Sheryl Larsen for this FREE half-day breakfast seminar! Discover expert SQL coding techniques, how to manage the SQL optimizer, an OS/390 performance primer, and more!  Click Here for details.  

Free e-Seminars
For detailed information on these free e-Seminars, please visit our News and Events page.

Free United Kingdom e-Seminars 

Visit the e-Seminar Archives

Tips of the Month
Oracle DBA Tip of the Month:  Recovering a Column Marked as UNUSED
PL/SQL Tip of the Month:  Passing a Collection into a Cursor
DB2 Tip of the Month:  Tuning VTAM Parameter's for Improved Distributed Performance
SQL Server Tip of the Month: Restricting Connection Access to Certain Programs
Puzzle

Interactive Crossword Puzzle: "Famous Animals"   

 
1 Down - Oracle, for Example
Test your knowledge with the Pipeline Newsletter's Monthly Crossword Puzzle. 

Click Here to Play!

 

Regular Features

Get FREE Stuff from Quest!

We love getting white papers, tips, articles, and code examples/archives from our readers around the world.  Send your submission to newsletter@quest-pipelines.com.  If your article is published, we will mail you a FREE gift from Quest as a gesture or our appreciation.

Our mission at Quest Software - RevealNet Labs is to anticipate the daily responsibilities and challenges faced by database professionals.  Our products help thousands of people solve problems and implement solutions every day.  This newsletter is designed to help facilitate the sharing of information among database professionals.  It is currently circulated to 28,000 readers.

About the Newsletter

This newsletter is distributed to Quest Software - RevealNet Labs customers, prospects and friends who have subscribed to it from our website. If you would like to unsubscribe, please send a note to unsubscribe@quest-pipelines.com and we will make every effort to remove you from our list.

Subscribe a Friend!

Do you know someone who would like to receive the Pipeline Newsletter? If so, please enter their email address in the box below and click SUBMIT.

  
Subscribe to re:Quest,
Quest's Quarterly newsletter with articles, new product announcements, success stories and much more.
 

Past Issues of the Pipeline Newsletter