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

  1. #NAME#
  2. DA_PCBGlossary
  3. #DESCRIPTION#
  4. The PCB glossary query returns the definition of the PCBs 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 name, use the LIKE clause with % after the first two angle brackets and before the two colons.
  11.  
  12. #MODIFIED#
  13.  
  14. #VERSION#
  15.  
  16. #SQL STATEMENT#
  17. SELECT DISTINCT  
  18.   p.pcbName,  
  19.   p.psbName,  
  20.   p.baseDBDname,  
  21.   p.procoptPCB,  
  22.   p.indexDBDname,  
  23.   p.sequenceDBDname,  
  24.   p."language",  
  25.   p.keyLength,  
  26.   s.structureAlias,
  27.   t.lastUpdate,
  28.   t.addDate  
  29. FROM OUTER  
  30.   DataAtlasPCB p,  
  31.   (p.sensegName) s,
  32.   PartView t
  33. WHERE  
  34.   p.pcbName like '<>%::%<%>' AND
  35.   p.pcbName=t.baseName 
  36. ORDER BY  
  37.   p.pcbName;
  38.