<?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: Using ST_length or ST_Y operator/function with in Oracle trigger in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/using-st-length-or-st-y-operator-function-with-in/m-p/617988#M34905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should prefix operators for ArcSDE ST types and functions with "SDE." since&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle has reserved the synonyms for the SDO_GEOMETRY types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 19:38:45 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-03-29T19:38:45Z</dc:date>
    <item>
      <title>Using ST_length or ST_Y operator/function with in Oracle trigger</title>
      <link>https://community.esri.com/t5/data-management-questions/using-st-length-or-st-y-operator-function-with-in/m-p/617986#M34903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I could use following statement without any problems(Using SQL navigator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select st_x(st_startpoint(s.shape)),st_Y(st_startpoint(s.shape)),st_X(st_endpoint(s.shape)),st_Y(st_endpoint(s.shape)),st_length(s.shape) from san_pipe s&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create an update trigger on san_pipe to get a length and coordinates and populate in feature class columns as under&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:new.length_calc := st_length(:new.shape)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to compile the trigger and receive invalid use of operator error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are they not allowed to be used in trigger? Am I missing anyting? I also tried using sde.st_length&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 17:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-st-length-or-st-y-operator-function-with-in/m-p/617986#M34903</guid>
      <dc:creator>YogeshShah</dc:creator>
      <dc:date>2012-03-29T17:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using ST_length or ST_Y operator/function with in Oracle trigger</title>
      <link>https://community.esri.com/t5/data-management-questions/using-st-length-or-st-y-operator-function-with-in/m-p/617987#M34904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works now!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Used select st_length(:new.shape) into vlength from dual;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;:new.length_calc := vlength;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have fun!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 19:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-st-length-or-st-y-operator-function-with-in/m-p/617987#M34904</guid>
      <dc:creator>YogeshShah</dc:creator>
      <dc:date>2012-03-29T19:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using ST_length or ST_Y operator/function with in Oracle trigger</title>
      <link>https://community.esri.com/t5/data-management-questions/using-st-length-or-st-y-operator-function-with-in/m-p/617988#M34905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should prefix operators for ArcSDE ST types and functions with "SDE." since&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle has reserved the synonyms for the SDO_GEOMETRY types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 19:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-st-length-or-st-y-operator-function-with-in/m-p/617988#M34905</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-03-29T19:38:45Z</dc:date>
    </item>
  </channel>
</rss>

