<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic null or void? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/null-or-void/m-p/2794028#M943776</link>
    <description>Hello Dudes,&lt;BR /&gt;&lt;BR /&gt;I have a doubt and I wonder if some of you may shed any light on this matter:&lt;BR /&gt;This is the situation:&lt;BR /&gt;&lt;BR /&gt;insert into PIPPO (CLMN1,CLMN2,CLMN3)&lt;BR /&gt;values ('A',,'B');&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;insert into PIPPO (CLMN1,CLMN2,CLMN3)&lt;BR /&gt;values ('A','','B');&lt;BR /&gt;&lt;BR /&gt;are producing the same result, in particular if the CLMN2 is defaulted with 'PLUTO', what would be present in that field after the UPDATE statement committed?&lt;BR /&gt;&lt;BR /&gt;Thanls a lot!&lt;BR /&gt;&lt;BR /&gt;Giulio&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 26 Aug 2002 13:33:41 GMT</pubDate>
    <dc:creator>BGiulio</dc:creator>
    <dc:date>2002-08-26T13:33:41Z</dc:date>
    <item>
      <title>null or void?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/null-or-void/m-p/2794028#M943776</link>
      <description>Hello Dudes,&lt;BR /&gt;&lt;BR /&gt;I have a doubt and I wonder if some of you may shed any light on this matter:&lt;BR /&gt;This is the situation:&lt;BR /&gt;&lt;BR /&gt;insert into PIPPO (CLMN1,CLMN2,CLMN3)&lt;BR /&gt;values ('A',,'B');&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;insert into PIPPO (CLMN1,CLMN2,CLMN3)&lt;BR /&gt;values ('A','','B');&lt;BR /&gt;&lt;BR /&gt;are producing the same result, in particular if the CLMN2 is defaulted with 'PLUTO', what would be present in that field after the UPDATE statement committed?&lt;BR /&gt;&lt;BR /&gt;Thanls a lot!&lt;BR /&gt;&lt;BR /&gt;Giulio&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Aug 2002 13:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/null-or-void/m-p/2794028#M943776</guid>
      <dc:creator>BGiulio</dc:creator>
      <dc:date>2002-08-26T13:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: null or void?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/null-or-void/m-p/2794029#M943777</link>
      <description>In the first case CLMN2 will be NULL, assuming that',,' &lt;BR /&gt;is treated as an implict null value.&lt;BR /&gt;&lt;BR /&gt;In the second case CLMN2 should contain an empty string.&lt;BR /&gt;Some interfaces may treat this as NULL, and you may get &lt;BR /&gt;a NULL value in the database.&lt;BR /&gt;&lt;BR /&gt;In both cases you have set the value so the default does&lt;BR /&gt;not come into play. The following should use the default.&lt;BR /&gt;&lt;BR /&gt;insert into PIPPO (CLMN1,CLMN3) &lt;BR /&gt;values ('A','B'); &lt;BR /&gt;&lt;BR /&gt;If you want to use the default when the value is set to &lt;BR /&gt;NULL or an empty string, you should use a trigger.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Aug 2002 14:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/null-or-void/m-p/2794029#M943777</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2002-08-26T14:43:17Z</dc:date>
    </item>
  </channel>
</rss>

