Query :
SELECT TABNAME,COLNAME from SYSCAT.COLUMNS where TABNAME='table_name'
You can use above mentioned query for getting all column name of a particular table in DB2.
SELECT TABNAME,COLNAME from SYSCAT.COLUMNS where TABNAME='table_name'
You can use above mentioned query for getting all column name of a particular table in DB2.