/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_table_bd_admindivision.sql **/
 EXEC p_AlterColumn 'T_BD_ADMINDIVISION', 'FFULLSPELL', 'NVARCHAR(255)', 'NOT NULL', '0100', ''' ''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BD_ADMINDIVISION' AND KSQL_COL_NAME ='FAREACODE') 
 ALTER TABLE T_BD_ADMINDIVISION ADD (FAREACODE VARCHAR(10) DEFAULT ' ' NOT NULL );

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