Call Oracle package function using Odbc from C#

前端 未结 4 1501
隐瞒了意图╮
隐瞒了意图╮ 2021-01-24 16:47

I have a function defined inside an Oracle package:

CREATE OR REPLACE PACKAGE BODY TESTUSER.TESTPKG as
  FUNCTION testfunc(n IN NUMBER) RETURN NUMBER as
  begin
         


        
4条回答
  •  醉梦人生
    2021-01-24 17:10

    I think you should consider using the Oracle Client instead.

    And if you choose ODBC to have just to create a DSN and then connect to it to be somehow database agnostic, consider using Enterprise Library Data Access Application Block.

提交回复
热议问题