Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

lr_db_executeSQLStatement values are not return.

$
0
0

We are developing a script using LR to retrieve the values from oracle DB. The issue we are facing is i can establish the connection to DB and when i tried to get the value from DB using simple select statement with where clause it’s not returning any values.

 

When i tried in DB query window, i am able to query and find the record with the same select statement

 

Can anyone suggest some idea what mistake we did.

 

The below query I have used in LR:

NumRows = lr_db_executeSQLStatement("StepName=connect",
                    "ConnectionName=db1",
                    "SQLStatement=Select * from tablename where CONTNO like '%ACHB000001'",
                    "DatasetName=sss",
                    LAST);

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>