<?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 ODBC failed to connect to SQL VIEW in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ODBC-failed-to-connect-to-SQL-VIEW/m-p/160152#M715775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, use the OLEDB method instead ODBC and try.&lt;/P&gt;&lt;P&gt;Even if the OLEDB refers the ODBC DSN&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=MSDASQL.1;Persist Security Info=True;User ID=&lt;B&gt;YOUR_USER&lt;/B&gt;;Data Source=&lt;B&gt;YOUR_ODBC&lt;/B&gt;;Extended Properties="DSN=&lt;B&gt;YOUR_ODBC&lt;/B&gt;;UID=&lt;B&gt;YOUR_USER&lt;/B&gt;;APP=QlikView;WSID=&lt;B&gt;WORKSTATION_ID&lt;/B&gt;;DATABASE=&lt;B&gt;DATABASE_NAME&lt;/B&gt;;";Initial Catalog=&lt;B&gt;DATABASE_NAME&lt;/B&gt;] (XPassword is PLdTRTRMTLaGHYFMZTceGWRNaE);&lt;/P&gt;&lt;P&gt;C ya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2009 00:56:17 GMT</pubDate>
    <dc:creator>hector</dc:creator>
    <dc:date>2009-08-19T00:56:17Z</dc:date>
    <item>
      <title>ODBC failed to connect to SQL VIEW</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-failed-to-connect-to-SQL-VIEW/m-p/160151#M715774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables : STORE TABLE and ORDER TABLE.&lt;/P&gt;&lt;P&gt;STORE TABLE has column "Store Key" and "Store Num", but ORDER TABLE only has "Store Num".&lt;/P&gt;&lt;P&gt;I joined "Store Key" from STORE TABLE to ORDER TABLE, but realized that each "Store Num" is linked to several "Store Key" based on "Store End Date". So I wrote a join statement in SQL then saved it as view.&lt;/P&gt;&lt;P&gt;But when I tried to connect to the SQL view through ODBC, it showed the following message, please help me check the following code and let me know where I did wrong , THANK YOU!!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-374_sourceID:374" /&gt;&lt;/P&gt;&lt;P&gt;This is my SQL code :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-375_sourceID:375" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my ODBC connection:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-376_sourceID:376" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 21:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-failed-to-connect-to-SQL-VIEW/m-p/160151#M715774</guid>
      <dc:creator />
      <dc:date>2009-08-18T21:17:37Z</dc:date>
    </item>
    <item>
      <title>ODBC failed to connect to SQL VIEW</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-failed-to-connect-to-SQL-VIEW/m-p/160152#M715775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, use the OLEDB method instead ODBC and try.&lt;/P&gt;&lt;P&gt;Even if the OLEDB refers the ODBC DSN&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=MSDASQL.1;Persist Security Info=True;User ID=&lt;B&gt;YOUR_USER&lt;/B&gt;;Data Source=&lt;B&gt;YOUR_ODBC&lt;/B&gt;;Extended Properties="DSN=&lt;B&gt;YOUR_ODBC&lt;/B&gt;;UID=&lt;B&gt;YOUR_USER&lt;/B&gt;;APP=QlikView;WSID=&lt;B&gt;WORKSTATION_ID&lt;/B&gt;;DATABASE=&lt;B&gt;DATABASE_NAME&lt;/B&gt;;";Initial Catalog=&lt;B&gt;DATABASE_NAME&lt;/B&gt;] (XPassword is PLdTRTRMTLaGHYFMZTceGWRNaE);&lt;/P&gt;&lt;P&gt;C ya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 00:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-failed-to-connect-to-SQL-VIEW/m-p/160152#M715775</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2009-08-19T00:56:17Z</dc:date>
    </item>
  </channel>
</rss>

