--Outfile Examples select ndc_code into outfile "MTM.txt" fields terminated by '\t' lines terminated by '\n' from ndc_denorm order by ndc_code; select ndc_code into outfile "MTM.txt" fields terminated by ',' optionally enclosed by '"' lines terminated by '\n' from weapons where nfa = 'yes';