IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_PROJECT' AND KSQL_COL_NAME IN ('FLOGO'))
 ALTER TABLE T_BD_PROJECT ADD (FLOGO VARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_PROJECT' AND KSQL_COL_NAME IN ('FSYSTEMTYPEBASEID'))
 ALTER TABLE T_BD_PROJECT ADD (FSYSTEMTYPEBASEID VARCHAR(36) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_PROJECT' AND KSQL_COL_NAME IN ('FPROADMINDIVISION'))
 ALTER TABLE T_BD_PROJECT ADD (FPROADMINDIVISION VARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_PROJECT' AND KSQL_COL_NAME IN ('FPROLEADERID'))
  ALTER TABLE T_BD_PROJECT ADD (FPROLEADERID BIGINT DEFAULT 0 NOT NULL );