<?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: Loss of division when creating a database view in a file geodatabase in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106588#M46583</link>
    <description>&lt;P&gt;There is already a Bug Logged for this, which was submitted in 2015:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDA4NTg0MQ==" target="_self"&gt;Bug BUG-000085841&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 04:30:49 GMT</pubDate>
    <dc:creator>Asrujit_SenGupta</dc:creator>
    <dc:date>2021-10-12T04:30:49Z</dc:date>
    <item>
      <title>Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106057#M46495</link>
      <description>&lt;P&gt;When creating a view in a file geodatabase, using the Create Database View tool, in the view definition, any / character I use for division disappears when I run the process. This of course throws a generic "invalid SQL statement" error (160195). Leaving out the division problem works fine (in other words, running a query in a file gdb with summing and grouping are just fine).&lt;/P&gt;&lt;P&gt;The view definition would be:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select NEW_COMMDIST AS New_Comm_District, sum (pop2020) AS Pop_per_Comm_District, CAST (sum pop2020 AS float) &lt;STRONG&gt;/&lt;/STRONG&gt; 32250.0 AS Deviation FROM pro2 GROUP BY new_commdist&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Literally after running this, the query becomes:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select NEW_COMMDIST AS New_Comm_District, sum (pop2020) AS Pop_per_Comm_District, CAST (sum pop2020 AS float) 32250.0 AS Deviation FROM pro2 GROUP BY new_commdist &lt;/EM&gt;&lt;U&gt;(note the missing /)&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;This is in Arc Pro 2.8.3. I tried a CAST function because I thought maybe the / operator might require 2 floats. The problem exists with 2 integers also.&lt;/P&gt;&lt;P&gt;Are there any fancy character workarounds I can try? or is there a DIV () function maybe?&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 21:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106057#M46495</guid>
      <dc:creator>MichaelMorgan4</dc:creator>
      <dc:date>2021-10-08T21:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106148#M46511</link>
      <description>&lt;P&gt;_ Underscore is a wild card in SQL.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 20:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106148#M46511</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2021-10-08T20:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106213#M46525</link>
      <description>&lt;P&gt;The Esri WebHelp highlights this limitation:&amp;nbsp;&lt;A title="Create Database View (Data Management)" href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-view.htm" target="_self"&gt;Create Database View (Data Management)&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;STRONG&gt;Views created in a geodatabase using this tool do not support a forward slash (/) character within the view definition.&lt;/STRONG&gt; For example, if you have a column in your create view definition that is based on an expression such as Population1990 / 10, then you would need to create the view using SQL tools.&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't see a workaround to this for File Geodatabases.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 05:11:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106213#M46525</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2021-10-09T05:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106480#M46568</link>
      <description>&lt;P&gt;This seems like an unnecessary bug then. Division would seem like almost a routine part of view definitions for just this purpose, any time any sort of proportion or normalization is needed. Why ESRI would choose to disable a common arithmetic operator in view definitions is ... a little weird. I am also choosing to use a file geodatabase for this purpose because of the temporary nature of this operation. Hopefully I can push this as a bug report.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 17:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106480#M46568</guid>
      <dc:creator>MichaelMorgan4</dc:creator>
      <dc:date>2021-10-11T17:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106588#M46583</link>
      <description>&lt;P&gt;There is already a Bug Logged for this, which was submitted in 2015:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDA4NTg0MQ==" target="_self"&gt;Bug BUG-000085841&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 04:30:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106588#M46583</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2021-10-12T04:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106718#M46603</link>
      <description>&lt;P&gt;Thank you for this. Hopefully this can be fixed after 6 years. There are workarounds, but apparently not for file geodatabases, and workarounds are not functionality.&lt;/P&gt;&lt;P&gt;Which actually makes me wonder if there is a way to access a file geodatabase using a mySQL, Postgre, or even OGR interface ....&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 15:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1106718#M46603</guid>
      <dc:creator>MichaelMorgan4</dc:creator>
      <dc:date>2021-10-12T15:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1237871#M63005</link>
      <description>&lt;P&gt;That's pretty crazy that you can't divide numbers in FGDB database views.&lt;/P&gt;&lt;P&gt;I checked in ArcGIS Pro 3.0.3 and it's still an issue there.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 17:09:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1237871#M63005</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-12-05T17:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of division when creating a database view in a file geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1499097#M85067</link>
      <description>&lt;P&gt;And still there in ArcGIS Pro 3.2.2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Crazy &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 14:53:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/loss-of-division-when-creating-a-database-view-in/m-p/1499097#M85067</guid>
      <dc:creator>KarimBaklouti</dc:creator>
      <dc:date>2024-06-28T14:53:01Z</dc:date>
    </item>
  </channel>
</rss>

