Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
calling stored procedure from Oracle
#3
Not Solved
Sorry, I couldn't cut and paste the actual code so I retyped it and made a few typos. 'Smc' is actually 'cmd'. Connection string is correct in the actual code and trust me this is not a connection issue. It seems this logic doesn't work in Oracle. I read somewhere that in order to use Stored procedure returning results in Oracle I actually need a different logic: Instead of creating a Command object I need to create an OracleCommand object using Oracle specific driver, and all the other commands have to be changed. I couldn't find any example of this in QTP. A sa result I changed the approach and now create the result table inside stored procedure and after calling it from QTP, read the results from this table in QTP script. This is not elegant, but I had to move forward.
Reply


Messages In This Thread
calling stored procedure from Oracle - by borisk - 12-18-2012, 07:31 PM
RE: calling stored procedure from Oracle - by krr - 12-31-2012, 05:40 PM
RE: calling stored procedure from Oracle - by borisk - 12-31-2012, 05:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  calling QTP script from one to another krishnas.tester 3 6,813 11-12-2014, 10:32 AM
Last Post: vinod123
  Request Help | Usage of Oracle Add-In for Oracle SQL Developer Nasir Ahmed 3 3,613 06-18-2014, 04:28 PM
Last Post: vinod123
  Need to put a value in editbox and the value is stored in a variable anushreebehura 2 2,780 05-10-2013, 03:03 PM
Last Post: SweetyChowdhury
  Function is not calling from subdriver qtpexpert 0 2,079 01-18-2013, 12:25 PM
Last Post: qtpexpert
  While calling sub procedure its giving error Akhila 1 2,585 10-22-2012, 01:55 PM
Last Post: harishshenoy

Forum Jump:


Users browsing this thread: 2 Guest(s)