Unable to see scama for store procedure of oracle

Home Page Forums BizTalk 2004 – BizTalk 2010 Unable to see scama for store procedure of oracle

Viewing 2 reply threads
  • Author
    Posts
    • #15727

      Hi all

      i am working on Biztalk 2006.

      I have installes ODBC drivers also.

      i have created one stroe procedure. but when i add this in biztalk , i am unable to see parameters in scama.

      so how can i solve this problem?

      or can i use package for this?

      Thanks.

      Purushottam.

    • #15732

      can i see that sproc.

      R-

      • #15750

         Hi Nar_BTS.

        My store procedure is like this..which i am not able to see in schemas.

        CREATE OR REPLACE
        PROCEDURE RET_REF_CURSOR
        ( p_return_cur OUT SYS_REFCURSOR)

        IS
        BEGIN
          OPEN p_return_cur FOR
          SELECT * FROM emp_mast WHERE <CONDITION HERE>
        END ;

        Regards.

        Puru.

        • #15752

          PURU,

          Try this…

          CREATE OR REPLACE
          PROCEDURE RET_REF_CURSOR
          ( p_return_cur OUT SYS_REFCURSOR)

          IS
          BEGIN
            OPEN p_return_cur FOR
            SELECT * FROM emp_mast WHERE <CONDITION HERE> FOR XML AUTO, XMLDATA
          END ;

          Nar- 

           

    • #16497

      A Package is necessary when using Sprocs on Oracle 9i or 10g.

      I'm not sure if "SYS_REFCURSOR" is available through the BizTalk Oracle adapter, but this is something to verify as well.

      If you're new to Oracle stored procs, BizTalk, OR the Oracle adapter I would suggest writing a simple sproc that takes IN a single number or varchar parameter and sends it back as an OUT parameter.  Don't forget the package.  This simple black-box approach helps you isolate more fundamental system issues.

       BizTron

      • #16795

        Reference cursors are not supported. Neither are User Defined Types.

         

         

         

         

         

         

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.