can any one help how to write a generalized query for a table partition in db2 using range scheme.
After going through few docs i got a example using hash scheme,i.e:
db2 "SELECT COLNAME, PARTKEYSEQ FROM SYSCAT.COLUMNS WHERE TABNAME = '<TableName>' AND PARTKEYSEQ != 0 \
ORDER BY PARTKEYSEQ"
I also need the same as above for a range partition
thanks in advance