title: C# / ODP.Net: MERGE INTO - How to get numer of affected Rows?
body: <p>I'm migrating a project from Mirosofts Oracle Provider (System.Data.OracleClient) to Oracles Data Provider ODP.Net (Oracle.DataAccess.Client), Version 11.2.0.4. The Problem I have right now is the following:</p>
  
  <p>When I'm running a MERGE INTO Statement using the Function OracleCommand.ExecuteNonQuery it always returns -1, no matter if it was successful or not. Microsofts Provider always returns the number of affected rows. So this is what I expect from ODP.Net as well. But it only returns the number of affected rows for INSERT/DELETE/UPDATE Statements...</p>
  
  <p>So how I can get this to work? Any ideas?</p>
  
  <p>Cheers
  Christian</p>