How To Execute An Oracle Stored Procedure From SQL Server Using Linkedserver?

Posted on 2011-05-10
Last Modified: 2012-08-13

Can someone provide step by step instructions on how to execute an Oracle stored procedure from SQL Server using SQL Server linkedserver?
Question by:Omega002
    LVL 23

    Accepted Solution

    SELECT * FROM OPENQUERY(OraDbAlias, 'EXECUTE storedprocedurename;')

    - here is the documentation:
    LVL 15

    Expert Comment

    by:Aaron Shilo

    in addition to OP_Zaharin make sure that the linked server properites are set to true under RPC

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
    JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
    This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
    Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now