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

  1. #NAME#
  2. DA_DataElementGlossary
  3. #DESCRIPTION#
  4. The Data Element glossary query returns the data specification and alias names of all Shareable Data Elements which match the specified name.
  5.  
  6. View type: DAQDataElement
  7.  
  8. Modifications:
  9. Change the search criteria of the name of the shareable data element using the = (equals), IN or LIKE elements in the SQL WHERE clause.
  10. #MODIFIED#
  11.  
  12. #VERSION#
  13.  
  14. #SQL STATEMENT#
  15. SELECT DISTINCT
  16.   e.dataElement,
  17.   e.typeCode,
  18.   e.stringLength,
  19.   e.stringVaryingCode,
  20.   e.asBitData,
  21.   e.isLOB,
  22.   e.numericPrecision,    
  23.   e.scale,
  24.   e.isSigned,
  25.   e.genericPicture,
  26.   e.isComplex,
  27.   e.vagSignFormat,
  28.   a.elementAlias,
  29.   p.lastUpdate,
  30.   p.addDate,
  31.   e.elementDescription
  32. FROM OUTER
  33.   DAQDataElement e,
  34.   (e.elementAliases) a,
  35.   PartView p
  36. WHERE
  37.   e.dataElement like '<>%' AND
  38.   e.dataElement=p.baseName
  39. ORDER BY
  40.   e.dataElement,
  41.   a.elementAlias;
  42.