/**Begin D:\PDM_UPGRADE\PDM1\BASE_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_BIZPARTNER' AND KSQL_COL_NAME ='FCHKISINTERNALCOMPANY') 
 ALTER TABLE T_BD_BIZPARTNER ADD (FCHKISINTERNALCOMPANY CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_CUSTOMER' AND KSQL_COL_NAME ='FCHKISINTERNALCOMPANY') 
 ALTER TABLE T_BD_CUSTOMER ADD (FCHKISINTERNALCOMPANY CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_SUPPLIER' AND KSQL_COL_NAME ='FCHKISINTERNALCOMPANY') 
 ALTER TABLE T_BD_SUPPLIER ADD (FCHKISINTERNALCOMPANY CHAR(1) DEFAULT '0' NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\BASE_table.sql **/
