Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18120 Posts in 4741 Topics- by 31743 Members - Latest Member: suuraj
 

Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: Execute SQL file from QTP    (Read 306 times)
Manjeet Singh
Active User
**
Offline Offline

Posts: 50


« on: February 23, 2010, 06:37:40 AM »

Hi,
I have almost 35 queries and i have to run these queries on to the Oracle database.I can execute the all the query one-by-one but it will increase the size of the code and i want to save  these 35 queries in a .sql file and want to run the .sql file from QTP. Can you please tell me how can i do the same in QTP?

Thanks,
Manjeet
Logged
Gautham Maroli
FRProject
Full User
*
Offline Offline

Posts: 155


« Reply #1 on: February 23, 2010, 07:37:01 AM »

Check the following link:

http://www.sqaforums.com/showflat.php?Number=584466
Logged
Asiq Ahamed
Moderator
Sr. User
*****
Offline Offline

Posts: 459



WWW
« Reply #2 on: February 23, 2010, 09:58:19 AM »

Hi Manjeet,
       Do you want to get the DB values in recordset? If not, then continue with Gautham's solution.
Logged
Pages: [1]   Go Up
Print
Jump to: