Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

writinig to DB

hi,

is there any option in the qv apllication that the user will write back to the DB?

TNX,

ADI

4 Replies
petter
Partner - Champion III
Partner - Champion III

Yes you can in the load script have a statement like this:

CONNECT ..... ;

SQL

     INSERT INTO dbo.CalcResult VALUES( 1 , 'Negative' , 234 );

And you can have multiple INSERTS or even a single INSERT with multiple rows.

Mind you - you might have to remember to allow read/write in the settings of the LOAD SCRIPT editor:

2015-10-08 #3.PNG

petter
Partner - Champion III
Partner - Champion III

2015-10-08 #4.PNG