1

I linked ORACLE Database in my local sql server called X.

ORACLE database : Y

ORACLE table name : PS.PSDBOWNER

SQL SERVER Name: X

I tried below query in my SSMS

select * from [X].[Y].[PS].[PSDBOWNER]

But its not working, Please let me know the correct syntax.

2 Answers 2

3

for those who is still looking for an answer to this question, that is to query oracle linked server in sql server, use a select statement like this:

select * from [oracle-linked-server-name]..[oracle-table-owner].[oracle-table-name]
Sign up to request clarification or add additional context in comments.

Comments

1

try this:

SELECT * FROM X.Y.dbo.[PS.PSDBOWNER]

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.