I'd like to use ExecProc

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Dym

I'd like to use ExecProc

Post by Dym » Wed 09 Nov 2005 12:45

I don't understand how use TOraSession::ExecProc in CBuilder.
This code doesn't work:

Code: Select all

Variant vPar[1];
vPar[0] = 11;
OraSession1->ExecProc("GET_MAIN_TREE_NODE_SQL", vPar, 0);
Stored procedure:

Code: Select all

 function GET_MAIN_TREE_NODE_SQL(rootid in number) return clob
  is
    retVal clob;
  begin
    select META_TREE."SQL"
    into retVal
    from META_TREE
    where META_TREE.ROOT_ID = rootid;
    return retVal;
  end;  
Does anybody know where is problem?

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Fri 11 Nov 2005 08:50

We cannot reproduce your problem. We need more detailed description i.e. your Oracle client/server versions, ODAC version, complete sample to demonstrate your problem and script to create server objects.
Please, send a message to our ODAC support e-mail address.

Post Reply