/**Begin D:\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\BDM_table.sql **/
 EXEC p_AlterColumn 'T_BDM_AGRIC_GOODSCODE_L', 'FNAME', 'NVARCHAR(450)', 'NOT NULL', '0100', ''' ''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BDM_AGRIC_GOODSCODE' AND KSQL_COL_NAME ='FNAME')
ALTER TABLE T_BDM_AGRIC_GOODSCODE ADD (FNAME VARCHAR(300) DEFAULT ' ' NOT NULL );

/**End D:\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\BDM_table.sql **/
