<?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: How to connect to an SQL Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511160#M692385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are trying to connect a Analysis server Cube.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should chose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft OLE DB Provider for SQL Server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to connect to a OLAP source as an analysis cube. Your connection should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=MSOLAP.3;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=AdventureWorksDW2012Multidimensional-EE;Data Source=localhost;Location=localhost];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then your load statement could look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; "[Measures].[Internet Extended Amount]" as [Internet Extended Amount],&lt;/P&gt;&lt;P&gt;&amp;nbsp; "[Customer].[Total Children].[Total Children].[MEMBER_CAPTION]" as [Total Children];&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Measures].[Internet Extended Amount]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME ON COLUMNS , NON EMPTY&lt;/P&gt;&lt;P&gt;&amp;nbsp; {[Customer].[Total Children].Children}&lt;/P&gt;&lt;P&gt;ON ROWS &lt;/P&gt;&lt;P&gt;FROM [Adventure Works] &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 08:10:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-21T08:10:15Z</dc:date>
    <item>
      <title>How to connect to an SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511159#M692382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;I am currently trying to integrate datas from an SQL source on QV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;I proceed as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;I went to file &amp;gt; Edit script&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;I clicked on Database OLE DB and pressed the button "Connect"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;I selected the provider "Microsoft OLE DB Provider for Analysis Services 9.0".&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;I entered the server name and I chose to use Windows security instead of username and password.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;I clicked “Test Connection” and the window “connection succeed” appeared.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Then QV generated the connection string into the script window and I chose to use Views.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Finally I clicked OK and QV gave me the script &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here is the problem: when I tried to reload my file I got an error message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please see the attached document for more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Many thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Helene&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 08:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511159#M692382</guid>
      <dc:creator />
      <dc:date>2013-08-21T08:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to an SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511160#M692385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are trying to connect a Analysis server Cube.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should chose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft OLE DB Provider for SQL Server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to connect to a OLAP source as an analysis cube. Your connection should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=MSOLAP.3;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=AdventureWorksDW2012Multidimensional-EE;Data Source=localhost;Location=localhost];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then your load statement could look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; "[Measures].[Internet Extended Amount]" as [Internet Extended Amount],&lt;/P&gt;&lt;P&gt;&amp;nbsp; "[Customer].[Total Children].[Total Children].[MEMBER_CAPTION]" as [Total Children];&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Measures].[Internet Extended Amount]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME ON COLUMNS , NON EMPTY&lt;/P&gt;&lt;P&gt;&amp;nbsp; {[Customer].[Total Children].Children}&lt;/P&gt;&lt;P&gt;ON ROWS &lt;/P&gt;&lt;P&gt;FROM [Adventure Works] &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 08:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511160#M692385</guid>
      <dc:creator />
      <dc:date>2013-08-21T08:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to an SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511161#M692386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If memory serves, when connecting to an OLAP source, you will need to use an MDX query, not an SQL query. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 08:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511161#M692386</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2013-08-21T08:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to an SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511162#M692387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/2339"&gt;orsh_&lt;/A&gt;&amp;nbsp; so can you tell me if there is a way to do the extraction from the cube? So what driver we need to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 16:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511162#M692387</guid>
      <dc:creator>Emmanuelle__Bustos</dc:creator>
      <dc:date>2013-10-25T16:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to an SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511163#M692388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read my post..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 08:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-connect-to-an-SQL-Server/m-p/511163#M692388</guid>
      <dc:creator />
      <dc:date>2013-10-29T08:19:24Z</dc:date>
    </item>
  </channel>
</rss>

