Bob -

Here is another macro you might find useful.

/*                                              */
/*                                              */
set sqldatetimeformat i
set sqldisplaymode w
set sqlmathmode r
commit
select count(*), type, left(description,96) as description -
  from adsm.archives -
   where node_name = %1 -
    group by type, description -
     order by description -
  >> e:\adsmcv3\sqllists\arcdesc
commit


--
--------------------------
Bill Colwell
C. S. Draper Lab
Cambridge, Ma.
[EMAIL PROTECTED]
--------------------------

In <[EMAIL PROTECTED]>, on 09/20/01
   at 10:40 AM, "Brazner, Bob" <[EMAIL PROTECTED]> said:

>What SQL can I code to get a quick list of the archives I may have taken
>for a given node.  I'm interested in getting the unique "descriptions".  If
>I code
>select description from archives blah blah blah,
>it takes forever to product results.  Yet, I know the backup/restore gui is
>able to quickly display this information.  What's the trick?

>Bob Brazner
>(414) 524-2570

Reply via email to