home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / datatl25.zip / DCTDSGN.Z / EWSQDU.QRY < prev    next >
Text File  |  1997-09-11  |  890b  |  38 lines

  1. #NAME#
  2. DA_DBDUsage
  3. #DESCRIPTION#
  4. The DBD usage impact query returns the names of all the DBDs and PCBs which use the definition of the DBD specified in the WHERE clause.  
  5.  
  6. View type:  DataAtlasDBD
  7.  
  8. Modifications:   
  9. Change the search criteria of the rootDBDname using the = (equals), IN or LIKE elements of the SQL WHERE clause.
  10.  
  11. #MODIFIED#
  12.  
  13. #VERSION#
  14.  
  15. #SQL STATEMENT#
  16. --DA_DBDUsage
  17. SELECT DISTINCT   
  18.   d.rootDBDname,   
  19.   d.dliAccess,   
  20.   d.pcbName,   
  21.   d.hidamDBDname as indexedDBD,
  22.   d.indexTargetDBDname as indexTargetDBD,
  23.   d.lchildDBDname as lchildDBD,
  24.   d.lparentDBDname as lparentDBD,
  25.   d.primaryIndexDBDname as primaryIndexDBD,
  26.   d.indicesDBDname as secondaryIndexDBD,
  27.   d.sourceDBDname as sourceDBD,
  28.   d.sourceDBDname1 as sourceDBD1
  29. FROM OUTER   
  30.   DataAtlasDBD d
  31. WHERE   
  32.   d.rootDBDname like '%'
  33. ORDER BY   
  34.   d.rootDBDname;   
  35.    
  36.   
  37.  
  38.