Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LEGACYUSER

    Need to select Column names ONLY

    As per JKAPCIA : SELECT NAME FROM SYSIBM.SYSCOLUMNS WHERE TBNAME = 'name of table or view' I think in DB2 for OS/390 you use NAME. The query should be changed AS FOLLOWS for UDB; SELECT COLNAME FROM COLUMNS WHERE TABNAME = 'name of table or view' ORDER BY COLNAME; Try...
  2. LEGACYUSER

    how to query data from another database

    I am assuming the following : 1) There is data in Sample.db2admin.sales 2) The new table Sample02.db2admin.sales is identical (i.e. All the columns are the same as Sample). 3) The new table Sample02 is empty. Try the following query to Insert data in to sample02.db2admin.sales from...

Part and Inventory Search

Back
Top