/**Begin D:\PDM_UPGRADE\PDM_UPGRADE_1.1\PDM_UPGRADE\PDM1\BCM_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_STRUCTOFDATASORT' AND KSQL_COL_NAME ='FDESCRIPTION') 
 ALTER TABLE T_BCM_STRUCTOFDATASORT ADD (FDESCRIPTION NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_STRUCTOFDATASORT' AND KSQL_COL_NAME ='FNAME') 
 ALTER TABLE T_BCM_STRUCTOFDATASORT ADD (FNAME NVARCHAR(200) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_STRUCTOFDATASORT' AND KSQL_COL_NAME ='FSIMPLENAME') 
 ALTER TABLE T_BCM_STRUCTOFDATASORT ADD (FSIMPLENAME NVARCHAR(50) DEFAULT ' ' NOT NULL );


/**End D:\PDM_UPGRADE\PDM_UPGRADE_1.1\PDM_UPGRADE\PDM1\BCM_table.sql **/
