Doubt in Package Invalidation, when adding a column of type DATE. -
08-24-2009
, 03:53 AM
*Hello Guyz,*
As per the Manual
+"Plans and packages are not invalidated unless the new column is a TIME, TIMESTAMP, or DATE."+
And I did the following test.
SELECT NAME,COLLID,OWNER,VALID
FROM "SYSIBM".SYSPACKAGE
WHERE NAME='DB2MULSE' ;
NAME COLLID OWNER VALID
DB2MULSE BOBC BOBB Y
The package DB2MULSE is Valid 'Y'.
ALTER TABLE SHANDB.EMPLOYEE
ADD TRIAL DATE
;
The table has been altered.
SELECT NAME,COLLID,OWNER,VALID
FROM "SYSIBM".SYSPACKAGE
WHERE NAME='DB2MULSE' ;
NAME COLLID OWNER VALID
DB2MULSE BOBC BOBB A
As per the manual, the package should have been invalidated.
Am i missing, anything here.
Please let me know you thoughts.
*Thank You,*
Sushanth |