title: ora-06553 pls-306 wrong number or types of arguments in call to 'ogc_x'
body: <p>I´m trying a query in oracle 10g. It goes like this:</p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT
    *
  FROM
    h2h_reg reg,
    h2h_cat_estatus est
  WHERE
    reg.FECH_APLICACION = SYSDATE
  AND REG.ID_EST        = EST.ID_ESTATUS
  AND est.tipo_estatus  = "X";
  </code></pre>
  
  <p>So it runs smootly, but when I try it adding a group by:</p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT
    reg.id_arch,
    reg.id_prod
  FROM
    h2h_reg reg,
    h2h_cat_estatus est
  WHERE
    reg.FECH_APLICACION = SYSDATE
  AND reg.id_est        = est.id_estatus
  AND EST.TIPO_ESTATUS  = "X"
  GROUP BY
    reg.id_arch,
    reg.id_prod;
  </code></pre>
  
  <p>I get the next message:</p>
  
  <blockquote>
    <p>ora-06553 pls-306 wrong number or types of arguments in call to 'ogc_x'</p>
  </blockquote>
  
  <p>Does anyone knows what´s wrong in my query?</p>