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

  1. #NAME#
  2. DA_PCBUsage
  3. #DESCRIPTION#
  4. The PCB usage impact query returns the names of all the PSBs which use the PCB specified in the WHERE clause.
  5.  
  6. View type:  DataAtlasPCB
  7.  
  8. Modifications:
  9. Change the search criteria of the pcbName in the SQL WHERE clause.
  10. In order to provide unique PCB names, the pcbName has the  format <>PSBName::PCBName<variation:revision>.  To find all PCBs which have a specific PCB name, use the LIKE clause with % after the first 
  11. two angle brackets and before the two colons. 
  12.  
  13. #MODIFIED#
  14.  
  15. #VERSION#
  16.  
  17. #SQL STATEMENT#
  18. SELECT DISTINCT
  19.   p.pcbName,
  20.   p.psbName,
  21.   p.baseDBDname
  22. FROM OUTER
  23.   DataAtlasPCB p
  24. WHERE
  25.   p.pcbName like '<>%::%'
  26. ORDER BY
  27.   p.pcbName;
  28.