/**Begin C:\anzhuang\PDM_UPGRADE\PDM1\ITP_table.sql **/
 EXEC p_AlterColumn 'T_ITP_PROVISTON_TAXES', 'FBILLNO', 'VARCHAR(200)', 'NOT NULL', '0100', ''' ''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ITP_PROVISTON_TAXES' AND KSQL_COL_NAME ='FACCOUNTSETTYPE') 
 ALTER TABLE T_ITP_PROVISTON_TAXES ADD (FACCOUNTSETTYPE NVARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ITP_PROVISTON_TAXES' AND KSQL_COL_NAME ='FSOURCEDRAFTTYPE') 
 ALTER TABLE T_ITP_PROVISTON_TAXES ADD (FSOURCEDRAFTTYPE NVARCHAR(100) DEFAULT ' ' NOT NULL );

/**End C:\anzhuang\PDM_UPGRADE\PDM1\ITP_table.sql **/
