<?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: Where is SAS enterprise &amp;quot;VIEW&amp;quot; stored in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/334036#M22206</link>
    <description>Views that append data usually performs well. When it comes to joining it's a different story. &lt;BR /&gt;On the other hand, a new table can be optimised by storing it on the most used dort order and applying indexes to it. If the data is static you could even remove the original tables if storage is a concern.</description>
    <pubDate>Sat, 18 Feb 2017 07:00:47 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-02-18T07:00:47Z</dc:date>
    <item>
      <title>Where is SAS enterprise "VIEW" stored</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332663#M22118</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a "View" in SAS Enterprise. (My first!)&lt;/P&gt;&lt;P&gt;If I open a brand new project then I expect to be able to create a query based on that "view" created earlier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;QUESTION: Where will I find the view, what library, what server? etc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And yes, I do have an understanding that a "view" is not real data - merely a view.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13442i58E0CB399B5BED74/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="CaptureTEMP140217.JPG" title="CaptureTEMP140217.JPG" /&gt;</description>
      <pubDate>Tue, 14 Feb 2017 15:36:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332663#M22118</guid>
      <dc:creator>PadraigODea</dc:creator>
      <dc:date>2017-02-14T15:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAS enterprise "VIEW" stored</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332679#M22120</link>
      <description>&lt;P&gt;You should have assigned the view to a library just like a dataset. The instructions for building the view results reside in that library. If you did not specify then it was very likely placed in the WORK library. Which means that&amp;nbsp;it was likely cleaned up when you ended your SAS session and &amp;nbsp;that you likely need ot re-do the work and place the view in a permanent library to avoid recreating it every time you need it.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:02:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332679#M22120</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-02-14T16:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAS enterprise "VIEW" stored</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332691#M22121</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand - almost!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I right-clicked on the query that creates the view and then click "properties" then click "results".&lt;/P&gt;&lt;P&gt;In the "results" I changed the output folder and filename to an existing library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, now when I run the query I get the following error;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ERROR: The CREATE VIEW statement cannot be processed directly by the database.&lt;/P&gt;&lt;P&gt;ERROR: Create View failed."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mmmm...I am not sure what to do now??&lt;BR /&gt;All help appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332691#M22121</guid>
      <dc:creator>PadraigODea</dc:creator>
      <dc:date>2017-02-14T16:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAS enterprise "VIEW" stored</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332746#M22123</link>
      <description>&lt;P&gt;Are creating that in a library that represents an EXTERNAL database? I'm not sure how that would work. I only use SAS views associated with SAS data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 18:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332746#M22123</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-02-14T18:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAS enterprise "VIEW" stored</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332834#M22132</link>
      <description>You can definitely create views pointing to RDBMS data. SAS is really a great tool for working almost seamless with different data sources. &lt;BR /&gt;But the key is that you can't create a SAS view and store in a RDBMS libref. Store it in a SAS libref. &lt;BR /&gt;If you think it's better to store it in the RDBMS you need to create it using the target RDBMS SQL syntax either directly in the database or in a PROC SQL explicit pass through step.</description>
      <pubDate>Tue, 14 Feb 2017 23:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/332834#M22132</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-02-14T23:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAS enterprise "VIEW" stored</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/333729#M22184</link>
      <description>&lt;P&gt;Thanks for feedback on my "view" question.&lt;/P&gt;&lt;P&gt;I have been out of office for a couple of days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Allow me clarify the question.&lt;BR /&gt;&lt;BR /&gt;My data is static historic data with zero updates/additions.&lt;/P&gt;&lt;P&gt;The structure is not friendly as sometimes data is split over 5 tables when it should all be in the same table. &amp;nbsp;This makes simple queries more complex (appending 5 tables).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Option A : &amp;nbsp;Do I I create ONE new table which hold all the data from the 5 tables (duplicated)&lt;BR /&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Option B: &amp;nbsp;Do I create a view of the 5 tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The number of records is fairly large ... which would make the option "B" "view" slower than if I created a new table?&lt;BR /&gt;Or is it breaking every rule in the book to create a new table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 10:21:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/333729#M22184</guid>
      <dc:creator>PadraigODea</dc:creator>
      <dc:date>2017-02-17T10:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAS enterprise "VIEW" stored</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/334036#M22206</link>
      <description>Views that append data usually performs well. When it comes to joining it's a different story. &lt;BR /&gt;On the other hand, a new table can be optimised by storing it on the most used dort order and applying indexes to it. If the data is static you could even remove the original tables if storage is a concern.</description>
      <pubDate>Sat, 18 Feb 2017 07:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Where-is-SAS-enterprise-quot-VIEW-quot-stored/m-p/334036#M22206</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-02-18T07:00:47Z</dc:date>
    </item>
  </channel>
</rss>

