<?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 Re: Julian date issue with Multi-versioned views in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790720#M2094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We manually corrected the dates and got it working. Yet to hear back from ESRI on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 15:57:51 GMT</pubDate>
    <dc:creator>PramodHarithsa1</dc:creator>
    <dc:date>2016-03-04T15:57:51Z</dc:date>
    <item>
      <title>Julian date issue with Multi-versioned views</title>
      <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790715#M2089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;The "Instead of" triggers created on Multi - version views for Updating, Inserting and Deleting records have an issue with the date field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;An update or insert command executed using the views throws the below error,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Courier New';"&gt;ORA-01835: day of week conflicts with Julian date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Courier New';"&gt;ORA-06512: at "ADMIN.V2356_UPDATE", line 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Courier New';"&gt;ORA-04088: error during execution of trigger 'ADMIN.V2356_UPDATE'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Courier New';"&gt;ORA-02063: preceding 3 lines from ARCGIS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;The date format used in these triggers doesn't comply with the format defined in the feature class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;The trigger uses the format: &lt;SPAN style="font-size: 10.0pt; font-family: 'Segoe UI','sans-serif'; color: #0070c0;"&gt;9999/12/31 23:59:59 6:365','YYYY/MM/DD HH24:MI:SS D:DDD &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;as against&lt;/SPAN&gt; the format defined for the feature class &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Segoe UI','sans-serif'; color: #0070c0;"&gt;31/12/9999 23:59:59','DD/MM/YYYY HH24:MI:SS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;Is this a know issue/bug?&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt; The only way I could fix this was by replacing the date format in all the triggers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;Database used: &lt;STRONG&gt;Oracle 11g&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;Geodatabase version: &lt;STRONG&gt;10.2.1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Segoe UI', sans-serif;"&gt;Pramod&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 17:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790715#M2089</guid>
      <dc:creator>PramodHarithsa1</dc:creator>
      <dc:date>2016-01-06T17:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Julian date issue with Multi-versioned views</title>
      <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790716#M2090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide an XML schema dump of your feature class or a list of steps how you created the feature class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, do you have any patches on your ArcGIS 10.2.1 client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 18:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790716#M2090</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2016-01-06T18:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Julian date issue with Multi-versioned views</title>
      <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790717#M2091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/32138" target="_blank"&gt;Christian Wells&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product Version: 10.2.1.3497 No Patch Installed.&lt;/P&gt;&lt;P&gt;I have attached a sample XML Schema Dump. Its a ArcFM Feature. Polygon Geometry.&lt;/P&gt;&lt;P&gt;The trigger has the date format: to_date('9999/12/31 23:59:59 6:365','YYYY/MM/DD HH24:MI:SS D:DDD')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the exact error Message:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;EM&gt;Error report -&lt;/EM&gt;
&lt;EM&gt;SQL Error: ORA-01835: day of week conflicts with Julian date&lt;/EM&gt;
&lt;EM&gt;ORA-06512: at "ADMIN.V3805_UPDATE", line 1&lt;/EM&gt;
&lt;EM&gt;ORA-04088: error during execution of trigger 'ADMIN.V3805_UPDATE'&lt;/EM&gt;
&lt;EM&gt;01835. 00000 -&amp;nbsp; "day of week conflicts with Julian date"&lt;/EM&gt;
&lt;EM&gt;*Cause:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;
&lt;EM&gt;*Action:&lt;/EM&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790717#M2091</guid>
      <dc:creator>PramodHarithsa1</dc:creator>
      <dc:date>2021-12-12T09:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Julian date issue with Multi-versioned views</title>
      <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790718#M2092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/32138"&gt;Christian Wells&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;does the details I provided give out any hint?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 17:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790718#M2092</guid>
      <dc:creator>PramodHarithsa1</dc:creator>
      <dc:date>2016-01-11T17:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Julian date issue with Multi-versioned views</title>
      <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790719#M2093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have the same problem....any news?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:48:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790719#M2093</guid>
      <dc:creator>SlavomirSipina</dc:creator>
      <dc:date>2016-03-01T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Julian date issue with Multi-versioned views</title>
      <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790720#M2094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We manually corrected the dates and got it working. Yet to hear back from ESRI on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 15:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790720#M2094</guid>
      <dc:creator>PramodHarithsa1</dc:creator>
      <dc:date>2016-03-04T15:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Julian date issue with Multi-versioned views</title>
      <link>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790721#M2095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/30706"&gt;Pramod Harithsa&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have just spent some time very frustrated with the same issue. The problem is caused by the nls settings and the different date formats used by oracle for different parts of the world.&lt;/P&gt;&lt;P&gt;In the US (I guess where ESRI tested this), a value of 6 for the day represents Friday. However in the UK and elsewhere, the 6th day of the week gets translated to a Saturday. The last day of the year 9999 is a Friday, and therefore the update fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have a couple of options here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) alter the triggers to either remove the day of the week component or provide the correct day of the week value for your particular locale - e.g. for the UK&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0070c0; font-family: 'Segoe UI','sans-serif'; font-size: 10pt;"&gt;TO_DATE('9999/12/31 23:59:59 &lt;STRONG&gt;5&lt;/STRONG&gt;:365','YYYY/MM/DD HH24:MI:SS D:DDD') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) alter the nls_territory parameter when writing to the multiversioned view, although you'd need to be careful not to break anything else with this - e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alter session set nls_territory = 'AMERICA';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert into myMultiVersionedView ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why the trigger needs to include the D:DDD component at all though - seems a bit over specific to me. ESRI should either remove the day of the week component or change the implementation of these triggers to take account of the local database settings as opposed to assuming everyone is in the US.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:54:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/julian-date-issue-with-multi-versioned-views/m-p/790721#M2095</guid>
      <dc:creator>DavidAllan3</dc:creator>
      <dc:date>2016-03-31T15:54:10Z</dc:date>
    </item>
  </channel>
</rss>

