title: System.Data.OracleClient.OracleException: ORA-06550: line 1, column 7:
body: <p>Can anyone help me solve this issue please. I'm getting this error PLS-00306: wrong number or types of arguments in call to 'INSERTFORUM'
  ORA-06550: line 1, column 7:
  PL/SQL: Statement ignored</p>
  
  <p>I checked the first line of my stored procedure and my parameters in C# and I don't see anything missing..course_ID int32, is also in my procedure, s where is the error? 
  Thank you</p>
  
  <p>My Oracle stored procedure </p>
  
  <pre><code>CREATE OR REPLACE PROCEDURE INSERTforum(
         p_course_id IN Int,
         p_question IN Varchar,
         p_postername IN Varchar,
         p_blog_date IN Date)
  AS
  BEGIN
  
    INSERT INTO forum ("COURSE_ID", "QUESTION", "POSTERNAME", "BLOG_DATE") 
    VALUES (p_course_id, p_question,p_postername, p_blog_date);
  
    COMMIT;
  
  END;
  /
  </code></pre>
  
  <p>C# code behind</p>
  
  <pre><code>    OracleCommand oraCmd = new OracleCommand("InsertForum", oraConnection);
  oraCmd.CommandType = System.Data.CommandType.StoredProcedure;
                                                                  /*or Decimal*/
  oraCmd.Parameters.Add(new OracleParameter("p_course_id", OracleDbType.Int32,
                        System.Data.ParameterDirection.Input)).Value = 123;
  oraCmd.Parameters.Add(new OracleParameter("p_question",  OracleDbType.Varchar2,
                        System.Data.ParameterDirection.Input)).Value = "question";
  oraCmd.Parameters.Add(new OracleParameter("p_postername", OracleDbType.Varchar2,
                        System.Data.ParameterDirection.Input)).Value = "postername";
  oraCmd.Parameters.Add(new OracleParameter("p_blog_date", OracleDbType.Date,
                        System.Data.ParameterDirection.Input)).Value = DateTime.Now;
  try 
  {
      oraCmd.ExecuteNonQuery();
  }
  catch (Exception ex)
  {
      Console.WriteLine(ex.Message);
  </code></pre>
  
  <p>}</p>