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);