<?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: ODBC CONNECT TO with connection string parameters? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ODBC-CONNECT-TO-with-connection-string-parameters/m-p/1250083#M395763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to come up with a work around.&amp;nbsp; Use the OLEDB connection in QlikView and then microsoft's OLEDB for ODBC .&amp;nbsp; Then use an ODBC Connection string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a QlikView connect statement example to an Azure SQL Database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;OLEDB CONNECT TO [Provider=MSDASQL.1;Persist Security Info=True;User ID=YOURUSERID;Extended Properties="DRIVER=ODBC Driver 13 for SQL Server;SERVER=YOURDATABASEHOST.database.windows.net;UID=YOURUSERID;Trusted_Connection=No;APP=Microsoft® Windows® Operating System;WSID=YOURPCNAME;DATABASE=YOURDATABASE;ApplicationIntent=READONLY;";Initial Catalog=DataWarehouse] (XPassword is YOURENCRYPTEDPASSWORD);&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2017 19:27:33 GMT</pubDate>
    <dc:creator>aritting</dc:creator>
    <dc:date>2017-08-16T19:27:33Z</dc:date>
    <item>
      <title>ODBC CONNECT TO with connection string parameters?</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-CONNECT-TO-with-connection-string-parameters/m-p/1250081#M395761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create an ODBC Connection string similar to the one created for OLEDB CONNECT TO. So that the connection information is in the QlikView load script instead of in a Machine or or file DSN on a computer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example My OLEDB Connection statement looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=MSDASQL.1;Persist Security Info=True;User ID=&lt;STRONG&gt;REDACTED&lt;/STRONG&gt;;Mode=Read;Extended Properties="DRIVER={iSeries Access ODBC Driver};UID=&lt;STRONG&gt;REDACTED&lt;/STRONG&gt;;SYSTEM=&lt;STRONG&gt;REDACTED&lt;/STRONG&gt;;DBQ=QGPL;DFTPKGLIB=QGPL;LANGUAGEID=ENU;PKG=QGPL/DEFAULT(IBM),2,0,1,0,512;QRYSTGLMT=-1;BLOCKSIZE=32768;LAZYCLOSE=1;TRANSLATE=1;UNICODESQL=1;CONNTYPE=2;COMPRESSION=0;";Initial Catalog=&lt;STRONG&gt;REDACTED&lt;/STRONG&gt;] (XPassword is &lt;STRONG&gt;REDACTED&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I create a ODBC CONNECT TO statement it looks like this:&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO &lt;STRONG&gt;REDACTED&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like a ODBC CONNECT string that looks like :&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [DRIVER={iSeries Access ODBC Driver};UID=&lt;STRONG&gt;REDACTED&lt;/STRONG&gt;;SYSTEM=&lt;STRONG&gt;REDACTED&lt;/STRONG&gt;;DBQ=QGPL;DFTPKGLIB=QGPL;LANGUAGEID=ENU;PKG=QGPL/DEFAULT(IBM),2,0,1,0,512;QRYSTGLMT=-1;BLOCKSIZE=32768;LAZYCLOSE=1;TRANSLATE=1;UNICODESQL=1;CONNTYPE=2;COMPRESSION=0;";Initial Catalog=&lt;STRONG&gt;REDACTED&lt;/STRONG&gt;] (XPassword is &lt;STRONG&gt;REDACTED&lt;/STRONG&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 22:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-CONNECT-TO-with-connection-string-parameters/m-p/1250081#M395761</guid>
      <dc:creator>aritting</dc:creator>
      <dc:date>2017-01-27T22:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC CONNECT TO with connection string parameters?</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-CONNECT-TO-with-connection-string-parameters/m-p/1250082#M395762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/7211"&gt;File DSN Connection Problem&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jan 2017 07:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-CONNECT-TO-with-connection-string-parameters/m-p/1250082#M395762</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-28T07:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC CONNECT TO with connection string parameters?</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-CONNECT-TO-with-connection-string-parameters/m-p/1250083#M395763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to come up with a work around.&amp;nbsp; Use the OLEDB connection in QlikView and then microsoft's OLEDB for ODBC .&amp;nbsp; Then use an ODBC Connection string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a QlikView connect statement example to an Azure SQL Database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;OLEDB CONNECT TO [Provider=MSDASQL.1;Persist Security Info=True;User ID=YOURUSERID;Extended Properties="DRIVER=ODBC Driver 13 for SQL Server;SERVER=YOURDATABASEHOST.database.windows.net;UID=YOURUSERID;Trusted_Connection=No;APP=Microsoft® Windows® Operating System;WSID=YOURPCNAME;DATABASE=YOURDATABASE;ApplicationIntent=READONLY;";Initial Catalog=DataWarehouse] (XPassword is YOURENCRYPTEDPASSWORD);&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 19:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-CONNECT-TO-with-connection-string-parameters/m-p/1250083#M395763</guid>
      <dc:creator>aritting</dc:creator>
      <dc:date>2017-08-16T19:27:33Z</dc:date>
    </item>
  </channel>
</rss>

