/**Begin C:\anzhuang\PDM_UPGRADE\PDM1\TCTF_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_NEW_TJSJB' AND KSQL_COL_NAME ='FMETADATAID') 
 ALTER TABLE T_TCTB_NEW_TJSJB ADD (FMETADATAID VARCHAR(200) DEFAULT ' ' NOT NULL );
 
 EXEC p_AlterColumn 'T_TCTB_NEW_TJSJB', 'FFORMNO', 'VARCHAR(500)', 'NOT NULL', '0100', ''' ''';

/**End C:\anzhuang\PDM_UPGRADE\PDM1\TCTF_table.sql **/
