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

  1. #NAME#
  2. DA_DB2udbTableColumnName
  3. #DESCRIPTION#
  4. The column name glossary query returns the names of DB2 UDB tables which contain a column which matches the column name specified in the WHERE clause.
  5.  
  6. View type:  DAQDB2csTable
  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. --DA_DB2udbTableColumnName
  16. SELECT
  17.   t.db2csTable,
  18.   td.tableDefinition,
  19.   td.columnName
  20. FROM
  21.   DAQDB2csTable t,
  22.   (t.usesTableDefinition) td
  23. WHERE
  24.   td.columnName like '%'
  25. ORDER BY
  26.   t.db2csTable,
  27.   td.columnName;
  28.