<?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 Array/Variable in SQL Where statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Array-Variable-in-SQL-Where-statement/m-p/1351451#M415313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table 1 has a list of user names from a document. Table 2 is an OLEDB connection to LDAP. I'm looking to pull LDAP data based on a matching where statement for all users in table 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Users: LOAD [User ID] FROM UserList.xlsx (ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=ADsDSOObject;Encrypt Password=False;Integrated Security=SSPI;Mode=Read;Bind Flags=0;ADSI Flag=-2147483648;FetchSize=100000];&lt;/P&gt;&lt;P&gt;HierarchyDB: SQL SELECT cn, displayname, l, c FROM 'LDAP' Where cn=[User ID];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect I'd have to use some type of "For Each" statement but nothing seems to be working. Preferably for distinct items in User ID to avoid duplication of data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 14:29:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-20T14:29:47Z</dc:date>
    <item>
      <title>Array/Variable in SQL Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Array-Variable-in-SQL-Where-statement/m-p/1351451#M415313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table 1 has a list of user names from a document. Table 2 is an OLEDB connection to LDAP. I'm looking to pull LDAP data based on a matching where statement for all users in table 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Users: LOAD [User ID] FROM UserList.xlsx (ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=ADsDSOObject;Encrypt Password=False;Integrated Security=SSPI;Mode=Read;Bind Flags=0;ADSI Flag=-2147483648;FetchSize=100000];&lt;/P&gt;&lt;P&gt;HierarchyDB: SQL SELECT cn, displayname, l, c FROM 'LDAP' Where cn=[User ID];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect I'd have to use some type of "For Each" statement but nothing seems to be working. Preferably for distinct items in User ID to avoid duplication of data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 14:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Array-Variable-in-SQL-Where-statement/m-p/1351451#M415313</guid>
      <dc:creator />
      <dc:date>2017-04-20T14:29:47Z</dc:date>
    </item>
  </channel>
</rss>

