DB2 storing results from final table clause
问题 The FINAL TABLE clause is great for getting values back from DML in DB2, for example: SELECT id FROM FINAL TABLE ( INSERT INTO mySchema.myTable (val) VALUES ('data') ) However, there doesn't seem to be a way to store the results of this query into another table, persisting the contents somewhere. For example, both of the following fail with the error "Data change table reference not allowed where specified." (I am running DB2 for i v7.1): CREATE TABLE mySchema.otherTable AS ( SELECT id FROM