SEARCHDATABASE.COM | Database Administrator Tips
February 11, 2004

IN THIS ISSUE | Table of Contents

1. DATABASE ADMINISTRATOR TIPS 
  - SQL Server: A quick UNION ALL trick
  - DB2: Using sequence objects
  - Oracle: First impressions of 10g
  - More recent tips from members
 
2. IMPORTANT ANNOUNCEMENTS AND LINKS
  - Ask the Experts: Your tough DBMS questions answered
  - Featured Topic: DB2 tips and scripts
_____________________________________________________________________
SPONSOR: SearchDatabase.com Product and Vendor Guide

Simplify the process of finding specific database products and
solutions.  SearchDatabase.com's Product and Vendor Guide allows you
to search listings alphabetically, and by industry or across such
topics as database tuning, data warehousing and more.

Visit our easy-to-use guide now!
http://searchDatabase.com/r/0,,18969,00.htm?track=NL-94
___________________________________________________________________
THIS WEEK'S TIPS:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
A QUICK 'UNION ALL' TRICK | Dipak Padhy
 
Let's say that you have two SQL Server tables that have columns of
the datatype TEXT and you need all DISTINCT records that are linked
or not linked to child tables. What do you do? 

>> CLICK for the full tip... 
http://www.searchDatabase.com/tip/1,289483,sid13_gci827176,00.html?track=NL-94


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
USING SEQUENCE OBJECTS | Craig Mulllins

A great new feature of DB2 V8 is sequence objects, a separate
structure that generates sequential numbers. Here's how to use it to
prevent an online program from updating a serial number table to the
same value that a batch program is going to use.

>> CLICK for the full tip... 
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid569117_tax285651,00.html?track=NL-94


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FIRST IMPRESSIONS OF 10G | Rob Westervelt

After getting their hands on the latest Oracle database, DBAs and IT
managers are raving about its newest features. 

>> CLICK for the full tip... 
http://searchdatabase.techtarget.com/originalContent/0,289142,sid13_gci949726,00.html?track=NL-94
 
___________________________________________________________________
MORE RECENT TIPS FROM SEARCHDATABASE MEMBERS:

LEVERAGE YOUR SQL SERVER 2000 SKILLS TO LEARN DB2 UDB V8 | R. Chong
http://searchdatabase.techtarget.com/tip/1,289483,sid13_gci947038,00.html?track=NL-94 
In the IT world today, we are constantly bombarded with new
information -- new software products, new versions, new features.
Leveraging your current knowledge is one way to keep up with this
constant change. The author shows you how you can use your current
knowledge of SQL Server 2000 to quickly gain skills in DB2 UDB for
Linux, UNIX, and Windows Version 8. 

TERMINATING 11I CONCURRENT REQUESTS | Bob Schreiber
http://searchoracle.techtarget.com/tip/1,289483,sid41_gci945160,00.html?track=NL-94
This script is useful for finding the SID and serial number for a
specific Oracle 11i concurrent request that has been terminated in
the applications, but has not been cleaned up by PMON. 

HOW TO WORK WITH DEFERRED CONSTRAINTS | Daniel Clamage
http://www.searchOracle.com/tip/1,289483,sid41_gci941869,00.html?track=NL-94
Here is how to defer a unique key constraint in Oracle until the end
of a transaction in order to temporarily have two key values the
same.

LEVERAGING YOUR ORACLE 9I SKILLS TO LEARN DB2 UDB V8 | Suita Gupta
http://www.searchDatabase.com/tip/1,289483,sid13_gci945589,00.html?track=NL-94
If you're a database specialist interested in growing your DB2
Universal Database skills, there's a good chance that you've already
developed database skills with another relational database product
somewhere along the way. This detailed article shows you how to use
your current knowledge of Oracle 9i to quickly gain skills in DB2 UDB
for Linux, UNIX, and Windows Version 8.

WORKING WITH ORACLE10G'S NEW GLOBAL TEMPORARY TABLE FEATURES
http://www.searchOracle.com/tip/1,289483,sid41_gci944420,00.html?track=NL-94
Oracle Database 10g extends the features of global temporary tables
to permit VARRAY and nested table columns. This tip will explain how
to use these new features. Contributed by author Kevin Owens.

DROP USER DATABASES WITHOUT USING NORMAL SYNTAX | Rudy Setiadi
http://www.searchDatabase.com/tip/1,289483,sid13_gci931561,00.html?track=NL-94 
When you restore a SQL Server database to another server or PC,
sometimes the sysusers table is not consistent and users can't be
dropped from the database. Here's how to drop user databases if they
can't be dropped using normal syntax like sp_dropuser. 

SQL SERVER SIZE MAINTENANCE | Baya Pavliashvili
http://www.searchDatabase.com/tip/1,289483,sid13_gci944134,00.html?track=NL-94 
Database size maintenance is among the "boring" tasks that DBAs have
to perform. However, if you allow your databases to grow without ever
managing their size you're very likely to get in trouble. Here's a
quick introduction to the topic.

CREATE PROCEDURES AND COMPILE DDL SCRIPTS ON THE FLY | M. Huffine
http://www.searchOracle.com/tip/1,289483,sid41_gci940477,00.html?track=NL-94
This Oracle procedure creates views, procedures, functions, and
packages, and update, delete, and insert statements and compiles
them. This provides developers with a means to call a procedure to
create and compile all DDL scripts on the fly and see the output
errors when executing stored DDL. 

WHY OLAP DESERVES MORE ATTENTION | Alexey Reznichenko
http://www.searchDatabase.com/tip/1,289483,sid13_gci940713,00.html?track=NL-94
According to one survey, only thirty percent of companies use OLAP
technology. Why? The author makes the case for OLAP and describes the
various types and implementations.

ALTERNATE WAY TO FIND DATABASE SIZE | Robert Oliver
http://www.searchDatabase.com/tip/1,289483,sid13_gci935717,00.html?track=NL-94 
Here's a quick SQL Server script that finds the size of the database
and separates the log and data file sizes.

USING 'INSTEAD OF' TRIGGERS | Alexander Kuznetsov
http://www.searchDatabase.com/tip/1,289483,sid13_gci941941,00.html?track=NL-94
First introduced in DB2 UDB V8.1, INSTEAD OF triggers are very useful
when you need to modify the database structure without changing the
applications running against the changed database. Here's an
introduction.

Hundreds more free tech tips submitted by members:
http://searchdatabase.techtarget.com/tips/0,289484,sid13_tax281808,00.html?track=NL-94

Share your knowledge, submit a tip, win a prize:
http://searchdatabase.techtarget.com/tipsSubmit/1,289485,sid13,00.html?track=NL-94

___________________________________________________________________
IMPORTANT LINKS:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
YOUR TOUGH DATABASE QUESTIONS ANSWERED | Ask the Experts

DB2: Why is text for SQL function in SYSIBM.SYSVIEW table?  
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid570616_tax285651,00.html?track=NL-94
 
   
DB2: Column check constraints versus trigger to check input values  
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid570619_tax285651,00.html?track=NL-94

SQL: Gaps in sequences  
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid571364_tax285649,00.html?track=NL-94
 
   
SQL: Scalar subselects  
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid571365_tax285649,00.html?track=NL-94
   
SQL: Customers with orders for the last N years  
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid570208_tax285649,00.html?track=NL-94

Sybase: Sybase on Linux  
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid570114_tax294910,00.html?track=NL-94
 
Sybase: Changing the IP address  
http://searchdatabase.techtarget.com/ateQuestionNResponse/0,289625,sid13_cid570120_tax294910,00.html?track=NL-94
 

>> CLICK for other database expert answers...
http://searchdatabase.techtarget.com/ateExperts/0,289622,sid13,00.html?track=NL-94

>> CLICK for Oracle-related expert answers...
http://searchoracle.techtarget.com/ateExperts/0,289622,sid41,00.html?track=NL-94


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DB2 TIPS AND SCRIPTS | Featured Topic

DB2 newbies and gurus alike will benefit from our collection of tech
tips, scripts, news analyses, webcasts, and expert advice inside... 

http://searchdatabase.techtarget.com/featuredTopic/0,290042,sid13_gci772962,00.html?track=NL-94

___________________________________________________________________
*********************SEARCHDATABASE CONTACTS***********************

TIM DICHIARA, Senior Site Editor (mailto:[EMAIL PROTECTED])
ROBYN LORUSSO, Site Editor (mailto:[EMAIL PROTECTED])
SARA CUSHMAN, Assistant Editor (mailto:[EMAIL PROTECTED])
ELLEN O'BRIEN, News Editor (mailto:[EMAIL PROTECTED])
ROB WESTERVELT, News Writer (mailto:[EMAIL PROTECTED])
GABRIELLE DERUSSY, Sales (mailto:[EMAIL PROTECTED])

:::::::::::::::::::::  ABOUT THIS NEWSLETTER  ::::::::::::::::::::::

This e-newsletter is published by SearchDatabase.com, a targeted Web
site from TechTarget, the most targeted IT media and events company.
TechTarget offers magazines, Web sites, e-newsletters, Webcasts and
conferences for enterprise IT professionals.
Copyright 2004 TechTarget. All rights reserved.
___________________________________________________________________

To unsubscribe from 'DBA Tips,' simply reply to this e-mail with
REMOVE (all caps) within the Body or Subject or go to 
http://searchDatabase.techtarget.com/register?track=NL-94 log in to
edit your profile, click on the link to Edit email subscriptions, and
uncheck the box next to the newsletter you wish to unsubscribe from.
When finished, click "Save Changes to My Profile." Changes may take
24 hours.
 
Contact us:

SearchDatabase
Member Services
117 Kendrick Street, Suite 800
Needham, MA 02494

Reply via email to