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

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