<?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 SQL DATA TYPE FOR DATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-data-type-for-date/m-p/12240687#M1985223</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;
  &lt;P&gt;I am creating a column table using SQL&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;CREATE COLUMN TABLE "EMPLOYEE_MAY"(DNUMBER INT, NAME VARCHAR(10), DOB DATE, REMINDERDAYS INT, DEPID INT);&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; INSERT INTO "EMPLOYEE_MAY" VALUES ('102025', 'RAMESH', '1978-03-23', '33', '10');&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;However while executing the same I am getting below error. The data type for DOB is taken as DATE &amp;amp; also the date format is taken as YYYY-MM-DD format. I have check the threads for the same and have taken the correct format but still I am getting below error. &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Could not execute 'INSERT INTO "EMPLOYEE_MAY" VALUES ('102025', 'RAMESH', '1978-03-23', '33', '10')' SAP DBTech JDBC: [339]: invalid number: not a valid number string '1978-03-23' at function __typecast__() (at pos 55) &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;Can you please support for the same.&lt;/P&gt;
  &lt;P&gt;Thanks In Advance&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 14:39:25 GMT</pubDate>
    <dc:creator>former_member698032</dc:creator>
    <dc:date>2020-09-02T14:39:25Z</dc:date>
    <item>
      <title>SQL DATA TYPE FOR DATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-data-type-for-date/m-p/12240687#M1985223</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
  &lt;P&gt;I am creating a column table using SQL&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;CREATE COLUMN TABLE "EMPLOYEE_MAY"(DNUMBER INT, NAME VARCHAR(10), DOB DATE, REMINDERDAYS INT, DEPID INT);&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; INSERT INTO "EMPLOYEE_MAY" VALUES ('102025', 'RAMESH', '1978-03-23', '33', '10');&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;However while executing the same I am getting below error. The data type for DOB is taken as DATE &amp;amp; also the date format is taken as YYYY-MM-DD format. I have check the threads for the same and have taken the correct format but still I am getting below error. &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Could not execute 'INSERT INTO "EMPLOYEE_MAY" VALUES ('102025', 'RAMESH', '1978-03-23', '33', '10')' SAP DBTech JDBC: [339]: invalid number: not a valid number string '1978-03-23' at function __typecast__() (at pos 55) &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;Can you please support for the same.&lt;/P&gt;
  &lt;P&gt;Thanks In Advance&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 14:39:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-data-type-for-date/m-p/12240687#M1985223</guid>
      <dc:creator>former_member698032</dc:creator>
      <dc:date>2020-09-02T14:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: SQL DATA TYPE FOR DATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-data-type-for-date/m-p/12240688#M1985224</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;bande_ramesh91&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Try this , It will work&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INSERT INTO "EMPLOYEE_MAY" VALUES ('102025', 'RAMESH', TO_DATE('1978-03-23', 'YYYY-MM-DD'), '33', '10');&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 15:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-data-type-for-date/m-p/12240688#M1985224</guid>
      <dc:creator>Yogananda</dc:creator>
      <dc:date>2020-09-02T15:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: SQL DATA TYPE FOR DATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-data-type-for-date/m-p/12240689#M1985225</link>
      <description>&lt;P&gt;THANKS A LOT&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 12:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-data-type-for-date/m-p/12240689#M1985225</guid>
      <dc:creator>former_member698032</dc:creator>
      <dc:date>2020-09-03T12:41:18Z</dc:date>
    </item>
  </channel>
</rss>

