Exporting QTP runtime datatable to SQL server during - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Exporting QTP runtime datatable to SQL server during (/Thread-Exporting-QTP-runtime-datatable-to-SQL-server-during) |
Exporting QTP runtime datatable to SQL server during - SweetyChowdhury - 05-09-2013 Hi Team, I am importing datatable from sql server in the global sheet, then modifying few column data. After modification, I want to write back the changes(runtime datatable) to the same datatable in the sql server database. Is it possible to do? If yes, can you please suggest a sample code. RE: Exporting QTP runtime datatable to SQL server during - sria123 - 05-10-2013 Its possible. given the Update access previlages to your DB. i dont have sample code. bt u can do this in similar way how you caonnect to the DB and query the DB U can write a update query and execute it. Thanks Sonu Code: Function db_connect( strSQL ) |