/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TPO_table.sql **/
 EXEC p_AlterColumn 'T_TPO_TCCIT_BIZDEF_ENTRY', 'FPROJECTNAME', 'VARCHAR(200)', 'NOT NULL', '0100', ''' ''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TPO_TCCIT_BIZDEF_ENTRY' AND KSQL_COL_NAME ='FPARENTNUMBER') 
 ALTER TABLE T_TPO_TCCIT_BIZDEF_ENTRY ADD (FPARENTNUMBER VARCHAR(50) DEFAULT ' ' NOT NULL );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TPO_table.sql **/
