<?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 Insert NULL date into ORACLE using ADBC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382140#M1642956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ADBC (like EXEC SQL OO) to insert values into an external database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to insert null value into the fields type date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already tried all the possibilities I can imagine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO_DATE('null'), only 'null', 'NULL' yyyymmdd, ddmmyyyy, 00.00.0000, 00000000, 00-00-0000, 00/00/0000, 00.00.0000 00:00:00, DECODE, space, ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The only one that worked was ie 24-nov-2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with this format, I can't insert NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do someone know how could I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flavio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm using the GET REFERENCE functionallity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2011 13:10:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-24T13:10:17Z</dc:date>
    <item>
      <title>Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382140#M1642956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ADBC (like EXEC SQL OO) to insert values into an external database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to insert null value into the fields type date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already tried all the possibilities I can imagine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO_DATE('null'), only 'null', 'NULL' yyyymmdd, ddmmyyyy, 00.00.0000, 00000000, 00-00-0000, 00/00/0000, 00.00.0000 00:00:00, DECODE, space, ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The only one that worked was ie 24-nov-2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with this format, I can't insert NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do someone know how could I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flavio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm using the GET REFERENCE functionallity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 13:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382140#M1642956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-24T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382141#M1642957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flavio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to pass 'NULL' value to a Date field in ORACLE using Native SQL provided the date field defined in ORACLE is of type 'DEAULT NULL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value passed by the code is 'NULL' as is accepted in the destination system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 13:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382141#M1642957</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2011-11-24T13:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382142#M1642958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pranav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made the field receive NULL as default in Oracle database, but I still facing the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 14:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382142#M1642958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-24T14:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382143#M1642959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flavio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can suggest 2 ways to verify the porblem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Try manually inserting the record in the ORACLE DB. If no errors then the data string needs to be verified.&lt;/P&gt;&lt;P&gt;2. If feasible, create another table in ORACLE DB without any foreign keys or complex data types. Simple table with a Unique Key and a NULL field. Send data to this Table and if successful, maybe you'll get some hints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 04:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382143#M1642959</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2011-11-25T04:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382144#M1642960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check whether  in your oracle table  - date is part of primary key or not  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is part of primary key with constraint of not acccepting NULL values then it will give error  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 06:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382144#M1642960</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-11-25T06:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382145#M1642961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tks, but I've already tried these solutions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked on the debug and I'm using exactly the same statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On TOAD( Oracle Viewer ) the statement works... On my method, don't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field has no constraints and is not part of the pk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Flavio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 13:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382145#M1642961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-25T13:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382146#M1642962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont pass value in "NULL" Codes   ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just pass null .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 04:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382146#M1642962</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-11-26T04:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NULL date into ORACLE using ADBC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382147#M1642963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flavio,&lt;/P&gt;&lt;P&gt;have you found a solution for this?&lt;/P&gt;&lt;P&gt;regards, Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 19:34:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-null-date-into-oracle-using-adbc/m-p/8382147#M1642963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-09T19:34:15Z</dc:date>
    </item>
  </channel>
</rss>

