/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PERM_DATARULE_L' AND KSQL_COL_NAME ='FDESCRIPTION') 
 ALTER TABLE T_PERM_DATARULE_L ADD (FDESCRIPTION NVARCHAR(255) DEFAULT ' ' NOT NULL );
 EXEC p_AlterColumn 'T_PERM_DATARULE', 'FDESCRIPTION', 'VARCHAR(255)', 'NULL', '0010', '';
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_table.sql **/
