<?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 sql insert from a load or qvd in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sql-insert-from-a-load-or-qvd/m-p/1737433#M452726</link>
    <description>&lt;P&gt;howdy folks,&lt;/P&gt;&lt;P&gt;i'm having troube running an sqlserver insert from a table w/ approximately 2kk rows and it's because i run, for each line of the table, an insert line.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;column 1, column 2,statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;a, 1, &lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.&lt;I&gt;table&amp;nbsp;&lt;/I&gt;(&lt;EM&gt;column1&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;column2&lt;/EM&gt;)&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;VALUES&lt;/SPAN&gt;&amp;nbsp;(&lt;EM&gt;a&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;1&lt;/EM&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;b,2, &lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.&lt;I&gt;table&amp;nbsp;&lt;/I&gt;(&lt;EM&gt;column1&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;column2&lt;/EM&gt;)&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;VALUES&lt;/SPAN&gt;&amp;nbsp;(b,&lt;EM&gt;&amp;nbsp;2&lt;/EM&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;c,3, &lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.&lt;I&gt;table&amp;nbsp;&lt;/I&gt;(&lt;EM&gt;column1&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;column2&lt;/EM&gt;)&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;VALUES&lt;/SPAN&gt;&amp;nbsp;(c,&lt;EM&gt;&amp;nbsp;3&lt;/EM&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;with this method, it takes eternity to finish the proccess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i know that in sql, we can do this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.table&amp;nbsp;SELECT * FROM database.dbo.table2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in a nutshell: is there a way so i can insert the lines on an similar format to the one above?&lt;/P&gt;&lt;P&gt;somthing like: &lt;EM&gt;&lt;STRONG&gt;SQL INSERT INTO&amp;nbsp;database.dbo.table&amp;nbsp;LOAD * FROM table2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:12:25 GMT</pubDate>
    <dc:creator>tameimpalan</dc:creator>
    <dc:date>2024-11-16T18:12:25Z</dc:date>
    <item>
      <title>sql insert from a load or qvd</title>
      <link>https://community.qlik.com/t5/QlikView/sql-insert-from-a-load-or-qvd/m-p/1737433#M452726</link>
      <description>&lt;P&gt;howdy folks,&lt;/P&gt;&lt;P&gt;i'm having troube running an sqlserver insert from a table w/ approximately 2kk rows and it's because i run, for each line of the table, an insert line.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;column 1, column 2,statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;a, 1, &lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.&lt;I&gt;table&amp;nbsp;&lt;/I&gt;(&lt;EM&gt;column1&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;column2&lt;/EM&gt;)&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;VALUES&lt;/SPAN&gt;&amp;nbsp;(&lt;EM&gt;a&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;1&lt;/EM&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;b,2, &lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.&lt;I&gt;table&amp;nbsp;&lt;/I&gt;(&lt;EM&gt;column1&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;column2&lt;/EM&gt;)&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;VALUES&lt;/SPAN&gt;&amp;nbsp;(b,&lt;EM&gt;&amp;nbsp;2&lt;/EM&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;c,3, &lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.&lt;I&gt;table&amp;nbsp;&lt;/I&gt;(&lt;EM&gt;column1&lt;/EM&gt;,&lt;EM&gt;&amp;nbsp;column2&lt;/EM&gt;)&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;VALUES&lt;/SPAN&gt;&amp;nbsp;(c,&lt;EM&gt;&amp;nbsp;3&lt;/EM&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;with this method, it takes eternity to finish the proccess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i know that in sql, we can do this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="sqlkeywordcolor"&gt;INSERT&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="sqlkeywordcolor"&gt;INTO&lt;/SPAN&gt;&amp;nbsp;database.dbo.table&amp;nbsp;SELECT * FROM database.dbo.table2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in a nutshell: is there a way so i can insert the lines on an similar format to the one above?&lt;/P&gt;&lt;P&gt;somthing like: &lt;EM&gt;&lt;STRONG&gt;SQL INSERT INTO&amp;nbsp;database.dbo.table&amp;nbsp;LOAD * FROM table2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-insert-from-a-load-or-qvd/m-p/1737433#M452726</guid>
      <dc:creator>tameimpalan</dc:creator>
      <dc:date>2024-11-16T18:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: sql insert from a load or qvd</title>
      <link>https://community.qlik.com/t5/QlikView/sql-insert-from-a-load-or-qvd/m-p/1739068#M452826</link>
      <description>&lt;P&gt;I am not sure if you can do this, what i know for sure is that you can write back to the db any table object created in a document using a macro, i have seen a solution like this a few years ago in a older job i had...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 08:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-insert-from-a-load-or-qvd/m-p/1739068#M452826</guid>
      <dc:creator>dapostolopoylos</dc:creator>
      <dc:date>2020-08-27T08:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: sql insert from a load or qvd</title>
      <link>https://community.qlik.com/t5/QlikView/sql-insert-from-a-load-or-qvd/m-p/1741008#M452927</link>
      <description>&lt;P&gt;About the only other thing I can add is the following Help link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Not sure I am following what you are really trying to do here, and I suspect that may account for the lack of more responses, so if you can clarify things further, that may help.&lt;/P&gt;&lt;P&gt;I believe there is also going to be potential restrictions in the DB connector side/DB security that may prevent things too, just FYI.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 14:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-insert-from-a-load-or-qvd/m-p/1741008#M452927</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-09-03T14:14:31Z</dc:date>
    </item>
  </channel>
</rss>

