title: Incorrect number of arguments for PROCEDURE
body: <p>Have not worked with ASP in a very long time and have never dealt with stored procedures. I am sure this is grade 1 stuff.</p>
  
  <p>Help will be appreciated. Thank you very much.</p>
  
  <p>Have a stored procedure in MYSQL:</p>
  
  <pre><code>CREATE PROCEDURE `insert_custdetails`(IN p_Email VARCHAR(100), 
  IN p_Fname VARCHAR(50), IN p_Lname VARCHAR(50), 
  IN p_IP VARCHAR(40), IN p_OS VARCHAR(10), 
  IN p_Browser VARCHAR(20), 
  OUT ID INTEGER(11))
      NOT DETERMINISTIC
      CONTAINS SQL
      SQL SECURITY DEFINER
      COMMENT ''
  BEGIN
  INSERT INTO
    `customerdetails`(
    Email,
    Fname,
    Lname,
    IP,
    OS,
    Browser)
  VALUES(
    p_Email,
    p_Fname,
    p_Lname,
    p_IP,
    p_OS,
    p_Browser);
  
  
  Set ID = LAST_INSERT_ID();
  
  END;
  </code></pre>
  
  <p>Then My Code in ASP:</p>
  
  <pre><code>SQL="CALL insert_custdetails ('1'," &amp; _
      "'2'," &amp; _
      "'3'," &amp; _
      "'4'," &amp; _
      "'5'," &amp; _
      "'6');"
  If Database(SQL) Then
      Response.Write Rs("ID")
  End IfError is:
  </code></pre>
  
  <p>The Result</p>
  
  <pre><code>-2147467259: 
  [MySQL][ODBC 5.1 Driver][mysqld-5.1.34-community]Incorrect 
  number of arguments for PROCEDURE mytable.insert_custdetails; 
  expected 7, got 6  
  </code></pre>
  
  <p>What exactly do I need to do to declare that 7th parameter? How do I get it?</p>