Adding Columns to the Db2 Plan_Table Table by Importing Dml - Documentation for Alter and Bmc Ami Change Manager for Db2 13.1
Use the Following Procedure to Import Dml to Upgrade Db2 Plan_Table Tables with Columns That Were Added by a Later Version of Db2. Before You beginCreate a...
Use the following procedure to import DML to upgrade Db2 PLAN_TABLE tables with columns that were added by a later version of Db2.
Must Read
Before you begin
Create a temporary table, as shown in the following figure that contains the new columns that were added by subsequent versions of Db2 for the PLAN_TABLE table, using Change Manager or SPUFI.
CREATE DATABASE DEMPLAN;
CREATE TABLESPACE TS1 IN DEMPLAN;
CREATE TABLE DEM.TESTPLAN
(WHEN_OPTIMIZE CHAR(1) NOT NULL,
QBLOCK_TYPE CHAR(6) NOT NULL,
BIND_TIME TIMESTAMP NOT NULL,
OPTHINT CHAR(8) NOT NULL WITH DEFAULT,
HINT_USED CHAR(8) NOT NULL WITH DEFAULT,
PRIMARY_ACCESS CHAR(1) NOT NULL WITH DEFAULT)
IN DEMPLAN.TS1
;