/**Begin D:\PDM_UPGRADE\PDM1\BCM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_BATCHEXPORTORG' AND KSQL_COL_NAME IN ('FMEMBRANGE')) 
 ALTER TABLE T_BCM_BATCHEXPORTORG ADD (FMEMBRANGE VARCHAR(10) DEFAULT '10' NOT NULL );

 EXEC p_AlterColumn 'T_BCM_OPLOGCONSOLE', 'FDESC', 'NVARCHAR(500)', 'NOT NULL', '1111', ''' ''';


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