How can I enable strict sql_mode in MySQL?
<p>How can I enable strict <code>sql_mode</code> in MySQL?</p>
<p>I want to fetch data from SQL and process the same in <code>strict</code> mode.</p>
<p>My current <code>sql_mode</code> is:</p>
<pre><code>mysql&gt; SELECT @@sql_mode;
+------------------------+
| @@sql_mode             |
+------------------------+
| NO_ENGINE_SUBSTITUTION |
+------------------------+
</code></pre>