IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFOCP' AND KSQL_COL_NAME ='FINVOICEGOODSNAME') 
 ALTER TABLE T_ER_INVOICEINFOCP ADD (FINVOICEGOODSNAME NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFOCP' AND KSQL_COL_NAME ='FINVOICEALLTAXCODE') 
 ALTER TABLE T_ER_INVOICEINFOCP ADD (FINVOICEALLTAXCODE NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEPOOLINFO' AND KSQL_COL_NAME ='FINVOICEGOODSNAME') 
 ALTER TABLE T_ER_INVOICEPOOLINFO ADD (FINVOICEGOODSNAME NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEPOOLINFO' AND KSQL_COL_NAME ='FINVOICEALLTAXCODE') 
 ALTER TABLE T_ER_INVOICEPOOLINFO ADD (FINVOICEALLTAXCODE NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMINVOICEINFO' AND KSQL_COL_NAME ='FINVOICEGOODSNAME') 
 ALTER TABLE T_ER_PUBREIMINVOICEINFO ADD (FINVOICEGOODSNAME NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMINVOICEINFO' AND KSQL_COL_NAME ='FINVOICEALLTAXCODE') 
 ALTER TABLE T_ER_PUBREIMINVOICEINFO ADD (FINVOICEALLTAXCODE NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFO' AND KSQL_COL_NAME ='FINVOICEGOODSNAME') 
 ALTER TABLE T_ER_INVOICEINFO ADD (FINVOICEGOODSNAME NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFO' AND KSQL_COL_NAME ='FINVOICEALLTAXCODE') 
 ALTER TABLE T_ER_INVOICEINFO ADD (FINVOICEALLTAXCODE NVARCHAR(255) DEFAULT ' ' NOT NULL );