<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Default on FromDual GmbH</title><link>https://www.fromdual.com/tags/default/</link><description>Recent content in Default on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Fri, 14 Dec 2018 08:33:25 +0000</lastBuildDate><atom:link href="https://www.fromdual.com/tags/default/index.xml" rel="self" type="application/rss+xml"/><item><title>To NULL, or not to NULL, that is the question!</title><link>https://www.fromdual.com/blog/to-null-or-not-to-null-that-is-the-question/</link><pubDate>Fri, 14 Dec 2018 08:33:25 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/to-null-or-not-to-null-that-is-the-question/</guid><description>&lt;p&gt;As we already stated in earlier articles in this blog &lt;br&gt;[&lt;a href="https://www.fromdual.com/using-null-as-default-values" title="Using NULL as default values"&gt;1&lt;/a&gt; and &lt;a href="https://www.fromdual.com/mariadb-indexing-of-null-values" title="MariaDB indexing of NULL values"&gt;2&lt;/a&gt;&lt;br&gt;] it is a good idea to use &lt;code&gt;NULL&lt;/code&gt; values properly in MariaDB and MySQL.&lt;/p&gt;</description></item><item><title>Using NULL as default values</title><link>https://www.fromdual.com/blog/using-null-as-default-values/</link><pubDate>Thu, 21 Jul 2011 18:35:34 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/using-null-as-default-values/</guid><description>&lt;h2 id="abstract"&gt;Abstract:&lt;/h2&gt;
&lt;p&gt;It is common practice in MySQL table design that fields are declared as &lt;code&gt;NOT NULL&lt;/code&gt; but some non-sense &lt;code&gt;DEFAULT&lt;/code&gt; values are specified for unknown field contents. In this article we show why this behavior is non optimal an why you should better declare a field to allow &lt;code&gt;NULL&lt;/code&gt; values and use &lt;code&gt;NULL&lt;/code&gt; values instead of some dummy values.&lt;/p&gt;</description></item></channel></rss>