/**Begin D:\pdm\PDM_UPGRADE\PDM1\HRCS_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRCS_LABELSCENE' AND KSQL_COL_NAME ='FLABELOBJECTID') 
 ALTER TABLE T_HRCS_LABELSCENE ADD (FLABELOBJECTID BIGINT DEFAULT 0 NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_HRCS_LBLSCENELBL') 
 CREATE TABLE T_HRCS_LBLSCENELBL (
FENTRYID BIGINT DEFAULT 0 NOT NULL,
FID BIGINT DEFAULT 0 NOT NULL,
FSEQ INT DEFAULT 0 NOT NULL,
FLABELID BIGINT DEFAULT 0 NOT NULL,
FBIZINDEX INT DEFAULT 0 NOT NULL
);

/**End D:\pdm\PDM_UPGRADE\PDM1\HRCS_table.sql **/
