Connect steps

  • Hello All,

    I am new to SQL server. We have a requirement to read Oracle and Postgres data from SQL server. I am not sure about the steps to follow in creating the DBLink in SQL Server to read the data from external RDBMS. Pls help.

    If it is a frequently asked query please point me to the right link.

    Thanks

    Rock

  • EXEC master.dbo.sp_addlinkedserver @server = N'ORA_LINK',

    @srvproduct=N'Oracle', @provider=N'MSDAORA', @datasrc=N' '

    then u can select from the above oracle database as below

    select * from ORA_LINK..SCHEMA_NAME.TABLE_NAME

Viewing 2 posts - 1 through 1 (of 1 total)

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