title: Delphi/Query component - assign a long string (800 char) to a sql.text property trim the sql to 326 char only
body: <p>I use Delphi/NexusDB and I build SQL (about 800 char long) at run time then I pass it to the nexusdb query.sql.text property to execute it but I found error of invalid token on execution.</p>
  
  <p>I pass SQL like this</p>
  
  <pre><code>Query.SQL.Text := VarStrSQL; // &lt;&lt;---- string variable holding the SQL
  </code></pre>
  
  <p>when I traced I found SQL string in the Query.SQL.Text is trimmed to 326 character !! 
  While the string variable that hold the SQL is complete and fine but when I assign that variable to query.sql.text only 326 character passed and of course this result in an error for invalid SQL syntax</p>
  
  <p>Please advise why the SQL string trimmed like that ?</p>
  
  <p><strong>Update:</strong>
  *<em>I tried memo1.lines.text := VarStrSQL and the memo component also display the string trimmed !! is it possible a character in my string cause that !! a bug in Delphi 2010 that cause TStrings to trim my string ?</em>*</p>
  
  <p>Thanks</p>