<?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: QVX Connector &amp; SQLCOLUMNS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608443#M1242179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT SQLColumns&lt;/STRONG&gt; is not exactly the same command as &lt;STRONG&gt;SQLCOLUMNS.&lt;/STRONG&gt; Say If you run &lt;STRONG&gt;SELECT SQLColumns&lt;/STRONG&gt; against MS SQL server it will end up with an error. I am building reusable library and I need exact &lt;STRONG&gt;SQLColumns&lt;/STRONG&gt; command to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2014 16:12:53 GMT</pubDate>
    <dc:creator>d_pranskus</dc:creator>
    <dc:date>2014-04-23T16:12:53Z</dc:date>
    <item>
      <title>QVX Connector &amp; SQLCOLUMNS</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608439#M1242171</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 have created a QVX custom connector using QVX SDK. Everything works fine except I am unable to run SQLCOLUMNS against that connection. IF I run that command I get the following message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;QVX_UNKNOWN_ERROR: The given key was not present in the dictionary.. Stack trace written to C:\ProgramData\QlikTech\Custom Data\CurrencyRateConnector\Log\StackTrace.txt&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;SQLCOLUMNS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I can do to enable that functionality. Can you give short example? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608439#M1242171</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: QVX Connector &amp; SQLCOLUMNS</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608440#M1242172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;as far as I know, you should interpret the SQLColumns, SQLTables or SQLTypes statements overriding the ExtractQuery method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13982610088807491" jivemacro_uid="_13982610088807491"&gt;
&lt;P&gt;public override QvxDataTable ExtractQuery(string query, List&amp;lt;QvxTable&amp;gt; tables)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // here you should get the query and give back a QvxDataTable object&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // get _tableName from query and find the table in the preloaded tablelist&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // or alternatively, create a new QvxTable object designed for SQLColumns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; string tableName = "";&lt;/P&gt;
&lt;P&gt;&amp;nbsp; QvxTable table = this.FindTable(tableName, tables);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if (table == null)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QvxLog.Log(QvxLogFacility.Application, QvxLogSeverity.Error, string.Format("ExtractQueryAndTransmitTableHeader() - QvxPleaseSendReplyException({0}, \"Table not found: {1}\")", QvxResult.QVX_TABLE_NOT_FOUND, _tableName));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; throw new QvxPleaseSendReplyException(QvxResult.QVX_TABLE_NOT_FOUND, string.Format("Table not found: {0}", _tableName));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; QvxDataTable table2 = new QvxDataTable(table);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; return table2;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 13:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608440#M1242172</guid>
      <dc:creator>antrtiz001</dc:creator>
      <dc:date>2014-04-23T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: QVX Connector &amp; SQLCOLUMNS</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608441#M1242175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Antonio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this, but in case of SQLColumns command, the connector raises an error before it reaches ExtractQuery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put an MsgBox call as first line to display the query and it works fine for &lt;STRONG&gt;SQL SELECT&lt;/STRONG&gt;, event for &lt;STRONG&gt;SQL COLUMNS &lt;/STRONG&gt;(see space after SQL), but not for &lt;STRONG&gt;SQLCOLUMNS.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be that the command must start with &lt;STRONG&gt;SQL (space) &lt;/STRONG&gt; to be recognized as a valid command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 15:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608441#M1242175</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2014-04-23T15:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: QVX Connector &amp; SQLCOLUMNS</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608442#M1242177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are almost right: try putting the statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13982692972321848" jivemacro_uid="_13982692972321848"&gt;
&lt;P&gt;SELECT SQLColumns; &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will enter the ExtractQuery method (tested on my qvx connector). here's the first fragment of ExtractQuery&lt;/P&gt;&lt;P&gt;&lt;SPAN class="keyword"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13982693046026380 jive_macro_code" jivemacro_uid="_13982693046026380"&gt;
&lt;P&gt;&lt;SPAN class="keyword"&gt;public &lt;SPAN class="keyword"&gt;override&lt;/SPAN&gt; QvxDataTable ExtractQuery(&lt;SPAN class="keyword"&gt;string&lt;/SPAN&gt; query, List&amp;lt;QvxTable&amp;gt; tables)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;{ &lt;/P&gt;
&lt;P&gt;&amp;nbsp; MessageBox.Show(&lt;SPAN class="string"&gt;"Query:"+query);&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; QvxLog.Log(QvxLogFacility.Application, QvxLogSeverity.Notice, &lt;SPAN class="string"&gt;"Internal ExtractQuery");&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ... &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 16:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608442#M1242177</guid>
      <dc:creator>antrtiz001</dc:creator>
      <dc:date>2014-04-23T16:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: QVX Connector &amp; SQLCOLUMNS</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608443#M1242179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT SQLColumns&lt;/STRONG&gt; is not exactly the same command as &lt;STRONG&gt;SQLCOLUMNS.&lt;/STRONG&gt; Say If you run &lt;STRONG&gt;SELECT SQLColumns&lt;/STRONG&gt; against MS SQL server it will end up with an error. I am building reusable library and I need exact &lt;STRONG&gt;SQLColumns&lt;/STRONG&gt; command to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 16:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608443#M1242179</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2014-04-23T16:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re: QVX Connector &amp; SQLCOLUMNS</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608444#M1242180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's true. The problem is that you are passed to the ExtractQuery method when the parser reaches a select that can be run against the connector.&lt;/P&gt;&lt;P&gt;You can even try using a statement like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1398270396064228" jivemacro_uid="_1398270396064228"&gt;
&lt;P&gt;SQL SQLColumns;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this also passes through the ExtractQuery method, but you need to identify which statements should be parsed by the custom connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, when connecting to AS/400 through ODBC driver, every select statement will be preceded by the SQL reserved word:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1398270402919793" jivemacro_uid="_1398270402919793"&gt;
&lt;P&gt;SQL SELECT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLD1,&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLD2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLD3&lt;/P&gt;
&lt;P&gt;FROM TAB01;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 16:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-Connector-SQLCOLUMNS/m-p/608444#M1242180</guid>
      <dc:creator>antrtiz001</dc:creator>
      <dc:date>2014-04-23T16:27:30Z</dc:date>
    </item>
  </channel>
</rss>

