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

  1. #NAME#
  2. DA_DB2390TableColumnName
  3. #DESCRIPTION#
  4. The DB2/390 column name glossary query returns the names of DB2/390 tables which contain a column which matches the column name specified in the WHERE clause.
  5.  
  6. View type:  DAQDB2390Table
  7.  
  8. Modifications:
  9. Change the search criteria of the ColumnName attribute in the SQL WHERE clause
  10. #MODIFIED#
  11.  
  12. #VERSION#
  13.  
  14. #SQL STATEMENT#
  15. SELECT
  16.   t.db2390Table,
  17.   td.tableDefinition,
  18.   td.columnName
  19. FROM
  20.   DAQDB2390Table t,
  21.   (t.usesTableDefinition) td
  22. WHERE
  23.   td.columnName like '%'
  24. ORDER BY
  25.   t.db2390Table,
  26.   td.columnName;
  27.