<?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 view not accessible in Catalog in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819490#M3655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At some point in the past I've written a SQL view (pulling data from a linked server) within my main Geodatabase to use in ArcGIS, these function properly.&amp;nbsp; Now I have a need for more information from the same server so I wrote more views, however I cannot access or even preview them Catalog, but I can see them in the catalog tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something in the process?&amp;nbsp; I've compared the script I used to create each and there isn't anything standing out as different to me.&amp;nbsp; Any insight is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2018 13:20:07 GMT</pubDate>
    <dc:creator>LancasterGIS</dc:creator>
    <dc:date>2018-06-27T13:20:07Z</dc:date>
    <item>
      <title>SQL view not accessible in Catalog</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819490#M3655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At some point in the past I've written a SQL view (pulling data from a linked server) within my main Geodatabase to use in ArcGIS, these function properly.&amp;nbsp; Now I have a need for more information from the same server so I wrote more views, however I cannot access or even preview them Catalog, but I can see them in the catalog tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something in the process?&amp;nbsp; I've compared the script I used to create each and there isn't anything standing out as different to me.&amp;nbsp; Any insight is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819490#M3655</guid>
      <dc:creator>LancasterGIS</dc:creator>
      <dc:date>2018-06-27T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL view not accessible in Catalog</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819491#M3656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS won't preview tables that contain unsupported datatypes. Please provide a more complete description of the view SQL with a complete description of the member tables.&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819491#M3656</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-06-27T13:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: SQL view not accessible in Catalog</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819492#M3657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what you mean by a more complete description.&amp;nbsp; Here is the script I used to create this view:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create view [dbo].[vw_Sanidata] as&lt;BR /&gt;SELECT [location_id],&lt;BR /&gt; [parcel_num],&lt;BR /&gt; [location_class],&lt;BR /&gt; [account_num],&lt;BR /&gt; [name],&lt;BR /&gt; [address],&lt;BR /&gt; [service_sanitation],&lt;BR /&gt; [rate_code_sanitation],&lt;BR /&gt; [rate_code_description_sanitation],&lt;BR /&gt; [rate_code_amount_sanitation]&lt;BR /&gt;FROM [server].[database].[dbo].[ud_gis_sanitation_data]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script from the process that created a similar table that works properly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create view [dbo].[vw_waterdata] as&lt;BR /&gt;select [location_id],&lt;BR /&gt; [location_class],&lt;BR /&gt; [parcel_num],&lt;BR /&gt; [address],&lt;BR /&gt; [rate_code_water],&lt;BR /&gt; [rate_code_description_water],&lt;BR /&gt; [rate_code_amount_water],&lt;BR /&gt; [service_wellhead],&lt;BR /&gt; [rate_code_wellhead],&lt;BR /&gt; [rate_code_description_wellhead],&lt;BR /&gt; [rate_code_amount_wellhead],&lt;BR /&gt; [rate_code_sewer],&lt;BR /&gt; [rate_code_description_sewer],&lt;BR /&gt; [rate_code_amount_sewer],&lt;BR /&gt; [rate_code_fireline],&lt;BR /&gt; [rate_code_description_fireline],&lt;BR /&gt; [rate_code_amount_fireline]&lt;BR /&gt;from [server].[database].[dbo].[ud_gis_water_data]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819492#M3657</guid>
      <dc:creator>LancasterGIS</dc:creator>
      <dc:date>2018-06-27T13:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: SQL view not accessible in Catalog</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819493#M3658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved!!!&amp;nbsp; some of the table names exceeded 31 characters, which prevented ESRI software from reading.&amp;nbsp; The final answer was to add an "as" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;[rate_code_description_sanitation] as rate_code_desc_sani,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 17:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sql-view-not-accessible-in-catalog/m-p/819493#M3658</guid>
      <dc:creator>LancasterGIS</dc:creator>
      <dc:date>2018-06-27T17:16:29Z</dc:date>
    </item>
  </channel>
</rss>

