title: What is the length of session variable in mysql?
body: <p>I'm trying to store a query into a variable (@sqlstmt) in a stored procedure, but its taking only 1024 characters and truncating the query.</p>
  
  <p>How should I change the size of session variable ?</p>
  
  <p>Thanks</p>