title: create mysql store procedure gives syntax error
body: <p>my mysql version is 5.7</p>
  <pre><code>CREATE PROCEDURE `newactivity`( IN _USERID INTEGER,  IN _ID INTEGER )
  BEGIN
  
          SET @USERID = _USERID; 
          SET @ID = _ID;
          SET @OBJECTTYPE = 'activity';
          
  END
  </code></pre>
  <p>it gives me error</p>
  <pre><code>#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
  </code></pre>
  <p>my line no 4 is below</p>
  <pre><code>SET @USERID = _USERID; 
  </code></pre>
  <p>what is issue here, please help me.</p>