<?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: Imports qvd into SQL Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911725#M316428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Manoj&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agry this solution, but was looking for a simpler solution.&lt;/P&gt;&lt;P&gt;Ashfaq gave me a most simple to the solution I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2015 10:53:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-23T10:53:07Z</dc:date>
    <item>
      <title>Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911722#M316425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to import a qvd file into a SQL Server database.&lt;/P&gt;&lt;P&gt;It's possible?&lt;/P&gt;&lt;P&gt;I know there are programs that do it, but I ask for the way to do it without an external program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 09:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911722#M316425</guid>
      <dc:creator />
      <dc:date>2015-07-23T09:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911723#M316426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer &lt;A href="https://community.qlik.com/docs/DOC-5970"&gt;SQL Writeback from QlikView extension object.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 09:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911723#M316426</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2015-07-23T09:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911724#M316427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can try this code as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC Connect to TransactionDatabase;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//Load from qvd file&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TABLE:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD transaction_date,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; site&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Data.qvd](qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// Getting number of records in Table&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET V_ROWS = NoOfRows('TABLE');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// Loop through the records and insert into Database table&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FOR V_ROW = 0 TO V_ROWS - 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET V_FIELD1 = Peek('transaction_date',V_ROW);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET V_FIELD2 = Peek('location',V_ROW);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET V_FIELD3 = Peek('item',V_ROW);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET V_FIELD4 = Peek('site',V_ROW);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL INSERT INTO dbo.temp_Table(transaction_date, location,item, site) VALUES('$(V_FIELD1)','$(V_FIELD2)', '$(V_FIELD3)','$(V_FIELD4)');&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope it helps&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 09:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911724#M316427</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2015-07-23T09:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911725#M316428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Manoj&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agry this solution, but was looking for a simpler solution.&lt;/P&gt;&lt;P&gt;Ashfaq gave me a most simple to the solution I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 10:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911725#M316428</guid>
      <dc:creator />
      <dc:date>2015-07-23T10:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911726#M316429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ASHFAQ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is exactly what I was looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 10:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911726#M316429</guid>
      <dc:creator />
      <dc:date>2015-07-23T10:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911727#M316430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also, with the proper configuration on the SQL Server end and access set up to the file share, use the SQL BULK INSERT command from Qlikview after storing a QVD as a text file. This would likely perform better than looping and inserting one row at a time depending on how many rows are in your QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE QV_TABLE_NAME INTO file.txt(txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL DELETE FROM sql_table_name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;BULK INSERT sql_table_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; FROM 'file.txt' WITH (FIELDTERMINATOR = ',', FIRSTROW = 2);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 11:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911727#M316430</guid>
      <dc:creator>dclark0699</dc:creator>
      <dc:date>2015-07-23T11:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911728#M316431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donnie;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is a good idea but I don't want to create any file extra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 12:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911728#M316431</guid>
      <dc:creator />
      <dc:date>2015-07-24T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911729#M316432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Donnie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting a script error because the txt file wasn't found. I create it just a few lines before the SQL BULK INSERT. I see the file created but somehow it isn't found by the QV script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know why? May I need to clear caché or something like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ariel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 16:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911729#M316432</guid>
      <dc:creator>arieidel</dc:creator>
      <dc:date>2016-12-06T16:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911730#M316433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a QV error, or is it a SQL Sever error? The SQL Server will need to have access to the fileshare where the file is in order to do the Bulk Insert. That was kicking back a file not found or access denied error for me when I did this initially.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 16:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911730#M316433</guid>
      <dc:creator>dclark0699</dc:creator>
      <dc:date>2016-12-06T16:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911731#M316434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was a SQL Server error. I've just fix it with the QvWorkPath system variable to indicate where the txt file is located. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I got several different error messages but they were due to data type or number of columns issues. I also fixed that and now it worked great. I also added the ROWTERMINATOR = '0x0A' parameter inside the "WITH" section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 17:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/911731#M316434</guid>
      <dc:creator>arieidel</dc:creator>
      <dc:date>2016-12-06T17:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Imports qvd into SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/1509819#M436572</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried this solution to insert data to MySQL database but I am getting below error. data is inserting to MySQL database but each insertion it throws this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;LET V_ROWS = NoOfRows('table');

FOR V_ROW = 0 TO V_ROWS - 1

LET V_FIELD4 = Peek('Impact',V_ROW,'table');

LET V_FIELD5 = Peek('Urgency',V_ROW,'table');

LET V_FIELD6 = Peek('Priority',V_ROW,'table');

SQL INSERT INTO kedb.incidents(Impact,Urgency,Priority) VALUES('$(V_FIELD4)','$(V_FIELD5)','$(V_FIELD6)');

NEXT;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="incident.PNG" style="width: 670px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/652iB1C28DDB705100D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="incident.PNG" alt="incident.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 14:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imports-qvd-into-SQL-Server/m-p/1509819#M436572</guid>
      <dc:creator>roledens</dc:creator>
      <dc:date>2018-11-20T14:45:54Z</dc:date>
    </item>
  </channel>
</rss>

