Difference between = and := in MySQL
<p>in <code>MySQL</code> what is the difference between these two command? </p>

<p>They work perfectly and the result is always the same:</p>

<pre><code>set @numRecords = (select count(*) from config);

set @numRecords := (select count(*) from config);
</code></pre>

<p>Thanks
Davide</p>