$ 0 0 We had an implementation where VTs were being created in dynamic-SQL .... and after some update patch installation same SPs running for months started to fail. On investigation we had to do following to make it work again: DECLARE MyUser VARCHAR(30); SELECT TRIM(USER) INTO MyUser; CALL DBC.SysExecSQL('CREATE volatile table ' || MyUser || '.TableName1(Col1 BIGINT ) ON COMMIT PRESERVE ROWS;'); Try creating via Dynamic SQL. HTH!
We had an implementation where VTs were being created in dynamic-SQL .... and after some update patch installation same SPs running for months started to fail. On investigation we had to do following to make it work again:
DECLARE MyUser VARCHAR(30);
SELECT TRIM(USER) INTO MyUser;
CALL DBC.SysExecSQL('CREATE volatile table ' || MyUser || '.TableName1(Col1 BIGINT ) ON COMMIT PRESERVE ROWS;');
Try creating via Dynamic SQL.
HTH!