AMSTERDAM, Aug 12 (Reuters) - Dutch bank ABN Amro said on Wednesday its investment bank will end all trade and commodity financing operations, as the unit's focus turns solely to Northwest Europe and clearing activities to reduce risks.

ABN also reported a net loss of 5 million euros ($5.86 million) for the second quarter, due to high impairments and ongoing difficulties in the oil sector.

Analysts in a company-compiled poll on average had predicted a loss of 46 million euros, after a 693 million euros profit in the same period a year ago.

($1 = 0.8538 euros) (Reporting by Bart Meijer; Editing by Tom Hogue)