/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TSRBD_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TSRBD_INTVERVIEW' AND KSQL_COL_NAME ='FNAME') 
 ALTER TABLE T_TSRBD_INTVERVIEW ADD (FNAME NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TSRBD_INTVERVIEW' AND KSQL_COL_NAME ='FSIMPLENAME') 
 ALTER TABLE T_TSRBD_INTVERVIEW ADD (FSIMPLENAME NVARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TSRBD_INTVERVIEW' AND KSQL_COL_NAME ='FDESCRIPTION') 
 ALTER TABLE T_TSRBD_INTVERVIEW ADD (FDESCRIPTION NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TSRBD_INTVERTYPE' AND KSQL_COL_NAME ='FREFEREDSTATUS') 
 ALTER TABLE T_TSRBD_INTVERTYPE ADD (FREFEREDSTATUS BIGINT DEFAULT 0 NOT NULL );



/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TSRBD_table.sql **/
