Create LinkServer between Oracle and SQL Server

  • How do you create a linkserver between Oracle and SQL server?

    I did this.

    sp_addlinkedserver @server = 'Oracle', @provider = 'MSDAORA'

    It returned '(null)' is an invalid product name.

    I want to access Oracle in a stored procedure that is why I need to create a link server between Oracle and SQL Server.

    Thanks

     

     

     

  • You should also add the @srvproduct = 'Oracle' parameter.

  • 1. install oracle client in the server where your sql server is

    2. configure oracle client

    3. set up the linked server (if you cannot set it up using sp_???, use the EM. It works)

     

     

     

  • Thanks

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply