db2 - Is it possible to obtain the actual values of a primary composite key with a SQL statement? -
db2 - Is it possible to obtain the actual values of a primary composite key with a SQL statement? -
i have table named f0911 (jd edwards erp system) in db2 on as400. table has primary key, f0911_pk, defined composite of 7 columns: gldct, gldgj, gldoc, glextl, gljeln, glkco , gllt
i trying replicate table bi application , go easier if obtain actual values of primary key, ideally statement like:
select f0911_pk, [other columns] f0911 ...
is such thing possible? guessing index values have been calculated , integers. possible @ raw values using sql statement?
the primary key logical construct; there no "actual values of primary key", apart values in columns comprises. if mean key values of index backs primary key constraint, may or may not simple concatenation of binary representation of each column value; in case these values have no meaning or utilize outside physical construction of index file.
db2
Comments
Post a Comment