a:1:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:23:"utility_fix_data_tables";s:4:"nome";s:9:"onExecute";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:394:"//FIX GREIGEPO
//Add Primary Key
$update_sql = "ALTER TABLE greigepo ADD ID2 INT PRIMARY KEY AUTO_INCREMENT";
sc_exec_sql($update_sql);
//Delete Invalid Records
$update_sql = "DELETE FROM greigepo
	WHERE p_o_number = ''";
sc_exec_sql($update_sql);
//FIX CUSTBILL
//Add Primary Key
$update_sql = "ALTER TABLE custbill ADD ID2 INT PRIMARY KEY AUTO_INCREMENT";
sc_exec_sql($update_sql);";}}