I have not actually tried /work on it but what you can do is
1) Export Functionality of SQL to export the given data in table to excel sheet.
2)Once your xls file is ready, you can import it to QTP with DataTable.Import "filepath"
As compared to your solution this will take less time.
Regards,
Seema Gupta
1) Export Functionality of SQL to export the given data in table to excel sheet.
2)Once your xls file is ready, you can import it to QTP with DataTable.Import "filepath"
As compared to your solution this will take less time.
Regards,
Seema Gupta