/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\EB_table.sql **/


-- 修复脚本

-- 先加上该字段 再删除
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_APPROVEBILLENTRY' AND KSQL_COL_NAME IN('TASKPROCESSJSON')) ALTER TABLE T_EB_APPROVEBILLENTRY ADD (TASKPROCESSJSON NVARCHAR(200) DEFAULT ' ' NOT NULL);
 EXEC p_AlterColumn 'T_EB_APPROVEBILLENTRY', 'TASKPROCESSJSON', 'NULL', 'NULL', '1001', 'NULL';

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