ADSM-L

Re: Logmode rollforward and incr/full dbbackups

2002-05-01 13:21:58
Subject: Re: Logmode rollforward and incr/full dbbackups
From: Alex Paschal <AlexPaschal AT FREIGHTLINER DOT COM>
Date: Wed, 1 May 2002 10:21:25 -0700
Matthew,

Your "as" should be outside the parentheses because you want it as part of
the final query, not as part of the subquery.  The renaming won't carry
outside the subquery if you put it inside the parentheses.  Also, try using
double quotes instead of single quotes.  The following worked for me:

select db.pct_utilized,log.pct_utilized,(select count(*) from
volumes where access='READONLY') as "READONLY", (select count(*) from
volumes where access='UNAVAILABLE') as "UNAVAILABLE" from db,log

Alex Paschal
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail


<Prev in Thread] Current Thread [Next in Thread>