<?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 Reg:Query on Synthetic Key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reg-Query-on-Synthetic-Key/m-p/207961#M63534</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;I would like to know the difference between '&lt;B&gt;qualify &amp;amp; unqualify&lt;/B&gt; ' statements and '&lt;B&gt;Key field&lt;/B&gt;' deceleration&lt;/P&gt;&lt;P&gt;and giving '&lt;B&gt;Alias&lt;/B&gt;' to fields.Because all above doing same effect that breaking key.&lt;/P&gt;&lt;P&gt;So let me know the diffrence between these and when to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2010 19:31:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-11T19:31:45Z</dc:date>
    <item>
      <title>Reg:Query on Synthetic Key</title>
      <link>https://community.qlik.com/t5/QlikView/Reg-Query-on-Synthetic-Key/m-p/207961#M63534</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;I would like to know the difference between '&lt;B&gt;qualify &amp;amp; unqualify&lt;/B&gt; ' statements and '&lt;B&gt;Key field&lt;/B&gt;' deceleration&lt;/P&gt;&lt;P&gt;and giving '&lt;B&gt;Alias&lt;/B&gt;' to fields.Because all above doing same effect that breaking key.&lt;/P&gt;&lt;P&gt;So let me know the diffrence between these and when to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 19:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reg-Query-on-Synthetic-Key/m-p/207961#M63534</guid>
      <dc:creator />
      <dc:date>2010-01-11T19:31:45Z</dc:date>
    </item>
    <item>
      <title>Reg:Query on Synthetic Key</title>
      <link>https://community.qlik.com/t5/QlikView/Reg-Query-on-Synthetic-Key/m-p/207962#M63535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The QUALIFY statement puts the tablename before each field that is indicated in the table when loaded.&lt;/P&gt;&lt;P&gt;For instanc&lt;/P&gt;&lt;TABLE cellspacing="0" style="margin-top:14pt;border-spacing:0px;width:550px;margin-left:40px;" width="550"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding:7px;width:24%;" valign="top" width="24%"&gt;&lt;P style="margin-bottom:0px;"&gt;qualify *;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding:7px;width:76%;" valign="top" width="76%"&gt;&lt;P style="margin-bottom:0px;"&gt;turns qualification on for all field names.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding:7px;width:24%;" valign="top" width="24%"&gt;&lt;P style="margin-bottom:0px;"&gt;qualify "*ID";&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding:7px;width:76%;" valign="top" width="76%"&gt;&lt;P style="margin-bottom:0px;"&gt;turns qualification on for all field names ending with ID&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding:7px;width:24%;" valign="top" width="24%"&gt;&lt;P style="margin-bottom:0px;"&gt;qualify "NR*", A;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding:7px;width:76%;" valign="top" width="76%"&gt;&lt;P style="margin-bottom:0px;"&gt;turns qualification on for A and all field names beginning with NR.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The UNQUALIFY statement does the opposite.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;unqualify *; turns qualification off for all field names.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;unqualify '%*_Key'; turns qualification off for all fields that start with a % and end with '_Key'&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;The last UNQUALIFY statement is often used to denote key fields.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR style="margin-bottom:0px;" /&gt;QUALIFY *;&lt;BR style="margin-bottom:0px;" /&gt;UNQUALIFY '%*_Key';&lt;BR style="margin-bottom:0px;" /&gt;Employee:&lt;BR style="margin-bottom:0px;" /&gt;LOAD id AS %EmployeeId_Key, // the use of AS here is giving the field 'id' an alias named %EmployeeId_Key&lt;BR style="margin-bottom:0px;" /&gt; name,&lt;BR style="margin-bottom:0px;" /&gt; address,&lt;BR style="margin-bottom:0px;" /&gt; city,&lt;BR style="margin-bottom:0px;" /&gt; .....&lt;BR style="margin-bottom:0px;" /&gt;FROM Employee.qvd (qvd);&lt;BR style="margin-bottom:0px;" /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin-bottom:0px;"&gt;This would give the following fields&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR style="margin-bottom:0px;" /&gt;%EmployeeId_Key&lt;BR style="margin-bottom:0px;" /&gt;Employee.name&lt;BR style="margin-bottom:0px;" /&gt;Employee.address&lt;BR style="margin-bottom:0px;" /&gt;Employee.city&lt;BR style="margin-bottom:0px;" /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin-bottom:0px;"&gt;The field %EmployeeId_Key can now easily be used to link two or more tables. This a key field.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;We could create another table with the same key to link them.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 20:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reg-Query-on-Synthetic-Key/m-p/207962#M63535</guid>
      <dc:creator />
      <dc:date>2010-01-11T20:41:51Z</dc:date>
    </item>
  </channel>
</rss>

