 <p>I believe you can't add the ';' at the end. So try:</p> <pre><code>DbCommand command = new OracleCommand( "insert into hardware (HardwareID) VALUES (6)", myConnection); command.ExecuteNonQuery(); </code></pre>