/**Begin C:\Users\rd_jin_gu\Documents\work\PDM_UPGRADE\PDM1\HRCS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_PROMPT_L' AND KSQL_COL_NAME ='FSYSLANGCONTENT') 
 ALTER TABLE T_HRCS_PROMPT_L ADD (FSYSLANGCONTENT NVARCHAR(2000) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_PROMPT_L' AND KSQL_COL_NAME ='FPROMPTLANGCONTENT') 
 ALTER TABLE T_HRCS_PROMPT_L ADD (FPROMPTLANGCONTENT NVARCHAR(2000) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_PROMPT' AND KSQL_COL_NAME ='FLANGTYPE') 
 ALTER TABLE T_HRCS_PROMPT ADD (FLANGTYPE VARCHAR(2) DEFAULT '1' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_PROMPT' AND KSQL_COL_NAME ='FSYSLANGCONTENT') 
 ALTER TABLE T_HRCS_PROMPT ADD (FSYSLANGCONTENT NVARCHAR(2000) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_PROMPT' AND KSQL_COL_NAME ='FPROMPTLANGCONTENT') 
 ALTER TABLE T_HRCS_PROMPT ADD (FPROMPTLANGCONTENT NVARCHAR(2000) DEFAULT ' ' NOT NULL );

/**End C:\Users\rd_jin_gu\Documents\work\PDM_UPGRADE\PDM1\HRCS_table.sql **/
