<?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: Accessing SQL views in Excel through MS Office add-in in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194945#M1608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just chose "Register tables" in DI Studio or SMC. If your view is created you should be able to see it when choosing the appropriate libref.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 15:45:11 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2015-03-12T15:45:11Z</dc:date>
    <item>
      <title>Accessing SQL views in Excel through MS Office add-in</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194942#M1605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find out whether it is possible to access a view created in EG through the Excel add-in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The view is in a registered library and I am able to access a similarly created table without problems. Currently, I get an error "Unable to open "SASApp:library.viewname". ERROR: The following columns were not found in the contributing tables: _TEMV001." Again, there is no error when I open the view in EG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 09:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194942#M1605</guid>
      <dc:creator>Agnar</dc:creator>
      <dc:date>2015-03-05T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQL views in Excel through MS Office add-in</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194943#M1606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the view registered in meta data?&lt;/P&gt;&lt;P&gt;Is the libname pre-assigned? If yes, how?&lt;/P&gt;&lt;P&gt;When you say SQL view, you means SAS SQL views, right? On Base SAS tables?&lt;/P&gt;&lt;P&gt;And is the view stored in the same libname as the tables?&lt;/P&gt;&lt;P&gt;Are you using the same profile when logging into SAS metadata?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 19:59:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194943#M1606</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-03-10T19:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQL views in Excel through MS Office add-in</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194944#M1607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. The first question is the tricky one and the answer to it will probably solve my problem. Sorry for being a bit of a newcomer to all this, but I am using the same profile when logging into SAS on every account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a very simple table in EG (new Data - two variables a (numeric) and b (character)) and keep it in a pre-assigned library (I assume it's pre-assigned, it is under SASApp:Libraries in Enterprise Guide when I open it. I.e. I haven't created a special library through a libname statement).&lt;/P&gt;&lt;P&gt;I have no problem with accessing that table through the Excel Add-in. Then I created a very simple view in SQL (proc sql; create view EGREPCD.view_test as select sum(a) where b="x";). I can access the view via EG without problem. Even having two instances of EG will allow me to update the values in the &lt;EM&gt;table&lt;/EM&gt; in one and see the &lt;EM&gt;view&lt;/EM&gt; change in the other. However, trying to access the view in Excel throws the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the problem lies in the simple SQL? Even if EG understands it, taking it a step further (into the Excel Add-in) is too much. If that is the case, is there a way for me to register the view in meta data? I have DI Studio if that matters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Agnar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 09:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194944#M1607</guid>
      <dc:creator>Agnar</dc:creator>
      <dc:date>2015-03-11T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQL views in Excel through MS Office add-in</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194945#M1608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just chose "Register tables" in DI Studio or SMC. If your view is created you should be able to see it when choosing the appropriate libref.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 15:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194945#M1608</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-03-12T15:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQL views in Excel through MS Office add-in</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194946#M1609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the view is a SAS view. You created the in EGREPCD the pre-assigned library that the view is using must also be active in AMO.&lt;/P&gt;&lt;P&gt;With Eguide you can have pre-assigned libraries that are not assigned. Eguide will open them when you need those. Also when you are using a different appserver or different user or ...&lt;/P&gt;&lt;P&gt;You will not have all data-items resulting in a failure of the view. You can check those using AMO and code some SAS statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 16:08:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Accessing-SQL-views-in-Excel-through-MS-Office-add-in/m-p/194946#M1609</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-03-12T16:08:40Z</dc:date>
    </item>
  </channel>
</rss>

