Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
paologobbi2
Partner - Contributor
Partner - Contributor

Store a table on a SQL Server

From Qlik Sense SAAS I read data from sql server but at the end of processing I would like to return a table to sql server.
Is there a function or automation I can use?
Thank you.

Labels (1)
2 Replies
Frank_S
Support
Support

Check out these help pages.

 

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
marksouzacosta

Hi @paologobbi2,

I think you mean that you would like to insert data on a SQL Server Database?
If so, you have to set in your SQL Server Qlik Cloud Data Connection Allow non-SELECT queries to True - this will allow you to write INSERT SQL Statements in the Load Script.

However, Qlik was not designed to insert records in a database. You will have to do the insert statement to run row by row and this may take forever. I do not recommend this process unless you are talking about a few records.

I never implemented such solution, but I would try something like this:
1. In your Qlik Load Script, save your table as a CSV file in a Cloud Storage such AWS S3
2. Go to Qlik Data Integration and create a new Replicate Project or a Pipeline, using as source the AWS S3 CSV file and as Target your SQL Server. This should handle it.

You could also look for another native SQL Server way to load cloud files into it and figure out a way to synchronize everything (you can play with Qlik APIs, Qlik Automations, Stored Procedures).

 

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com