This previous post has some discussion on the subject. Basically you have to write a macro, since QlikView is to designed for writing back.
To get more posts, search for 'Wirte back', 'write to database' , 'write to sql', 'write to excel' etc
Please find out the sample atatched to do the same .
Here you can do this by using macro.
YOU HAVE TO ALTER A BIT (PATH CHANGE) IN MACRO.
sql_db2_script_generator.qvw 214.8 K