ExecuteNonQuery and serveroutput

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mattlane86@gmail.com

    ExecuteNonQuery and serveroutput

    Hey, I'm calling an Oracle stored procedure from .NET using
    OracleCommand.E xecuteNonQuery( ). Everything runs appropriately, but
    the stored procedure does not use output parameters, but rather uses
    DBMS_OUTPUT.PUT _LINE several times so that in sqlplus you get all
    sorts of good info. I'm trying to figure out how to read the
    serveroutput within .NET to get this info.

    I've tried using the OracleInfoMessa geEventHandler, but I'm either
    doing it wrong or it's the wrong approach. The description states
    that it: "Occurs when Oracle sends a warning or an informational
    message"

    Any suggestions?
    Thanks in advance,
    Matt

Working...