<?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: Load SQL table without knowing field names. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041112#M637400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However you would normally connect to your database management system through QlikView. We use ODBC here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2016 16:54:37 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2016-04-28T16:54:37Z</dc:date>
    <item>
      <title>Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041105#M637393</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;&lt;/P&gt;&lt;P&gt;I have a new database that I am connecting to and i would like to use QlikView to show me all of the field names available in a certain table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD VISITS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM VISITS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This throws an error , am i unable to use a wild card for fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 15:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041105#M637393</guid>
      <dc:creator />
      <dc:date>2016-04-28T15:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041106#M637394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM VISITS;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Then check all the field names on the front end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 15:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041106#M637394</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-28T15:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041107#M637395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below SQL script will return all the column names from a SQL table:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;SQL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; COLUMN_NAME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;INFORMATION_SCHEMA&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;COLUMNS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; TABLE_NAME&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;='&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;table_name'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 15:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041107#M637395</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-04-28T15:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041108#M637396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to access from Qlikview but this script is accessing the server directly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041108#M637396</guid>
      <dc:creator />
      <dc:date>2016-04-28T16:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041109#M637397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am connecting with an ODBC connection through QlikView?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041109#M637397</guid>
      <dc:creator />
      <dc:date>2016-04-28T16:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041110#M637398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLColumns.htm" title="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLColumns.htm"&gt;https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLColumns.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041110#M637398</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-04-28T16:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041111#M637399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's how I do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041111#M637399</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-04-28T16:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041112#M637400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However you would normally connect to your database management system through QlikView. We use ODBC here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041112#M637400</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-04-28T16:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load SQL table without knowing field names.</title>
      <link>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041113#M637401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do it on the server, but as shown it will run from QlikView. However, that script will depend heavily on your environment, I believe. At our company, for instance, it would look more like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT NAME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM SYSIBM.SYSCOLUMNS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE TBCREATOR = 'SYSTLC'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND TBNAME = 'VISITS'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I want to know the field names in a table, I do it like Sunny T suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-SQL-table-without-knowing-field-names/m-p/1041113#M637401</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-04-28T16:55:58Z</dc:date>
    </item>
  </channel>
</rss>

