Hi,
One more issue I am facing right now.
I am trying to read a certain # or rows from DB but the script does not
work. If I try to read everything, script works fine.
Am I missing something?
See script below. Any suggestion will be appreciated.
Thank you.
MZR



Set objDB = CreateObject("ADODB.Connection")
objDB.ConnectionString = "DSN"
objDB.Open "DRIVER={Microsoft ODBC for
Oracle};UID=XXXXXX;PWD=######;SERVER=tday1.world;"
' strQuery = "Select * FROM loanmdtst1.clpac...@gtas08pcs WHERE rownum <
11"  ' // This query does not execute
strQuery = "Select * FROM loanmdtst1.clpac...@gtas08pcs" ' // This works
fine
Set objResults = objDB.Execute(strQuery)

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to