Viewing Linked Server Tables on Different Versions of SSMS - sql-server

We have a SQL Server 2014 with a linked server with SQL Server 2016.
From SSMS on my local machine I can see the remote linked server under Server Objects, but I cannot see any of the tables in the database.
If I login to the machine running SQL Server 2014 and login with the same domain credentials I can see the linked server and the tables.
Suggestions?

Related

SQL Server Reporting server doesn't connect : SQL Server 2019 Enterprise

I installed SQL Server 2019 Enterprise edition (with custom instance name, not default one) with CU8 followed by SQL Server Reporting Services. But when I am trying to connect to the SQL Server Reporting Server in SQL Server Management Studio, it shows default instance name i.e. SSRS and it doesn't connect.
However, I am able to connect to the database engine server.
For the same reason I am not able to install Reporting Services Role in my primary site server as Reporting server instance name doesn't get populated. However I am not facing this issue in SQL Server 2012 Enterprise as SQL Server Reporting Services .exe file doesn't come as a separate file in SQL Server 2012 Enterprise and it is installed with SQL Server itself.

SQL Server Linked Server query to Oracle will not work when rdp onto the sql server but will work when connecting from laptop

We have an offsite server A hosting an Oracle database, and an on-site SQL Server B.
We have a linked server set up on B pointing at A.
If I connect from my laptop to SQL Server B and run a query against the linked server, the query will succeed.
If I remote desktop onto SQL Server B and run the same query I get the following error:
RA-12638: Credential retrieval failed
The query works from every machine I have tried it on apart from Server B where the SQL Server is hosted, what might be causing this issue?
This was resolved by updating sqlnet.ora, changing authentication from NTS to NONE.

SQL Server Database Migration Assistant: Cannot connect to server

I am trying to migrate a database in-place (same PC) from SQL Server 2008 R2 Express to SQL Server 2019 Express, by using DMA (Database Migration Assistant). But I cannot connect to the target server (2008) during the "Assessment" task.
I have installed SQL Server 2019 as coexisting installation assigning the following instance names:
MSSQLSERVER (default name assigned during SQL Server 2008 R2 installation)
MSSQLSERVER2019 (different instance name assigned during SQL Server 2019 installation)
The PC is named DESKTOP1 and this results into the following server names:
DESKTOP1 for SQL Server 2008 R2
DESKTOP1\MSSQLSERVER2019 for SQL Server 2019
Both the server names work fine and I can normally connect to the servers by means of Management Studio.
The weird behaviour is that during the database assessment task, I couldn't connect to the source database server (DESKTOP1). Then I tried to go directly to the "Migration" task and I was able to connect. After this I went back to the "Assessment" task and (kind of magic) I was able to connect to the server DESKTOP1.
Do you have any clue about this issue? It looks like during Migration task there is something that enable the server connection.
Thank you!

How to connect remotely to server using sql studio

I am new to SQL but this is what i would like to do.
I have these information
hostname: hostname.com
port: 1523
SID: oracledb
Username: username
Password: password
I would like to connect remotely to this server to retrieve data using MSSQL studio. Can you please explain to me how to do it. thank you
You cannot directly connect to and query an Oracle database using SQL Server Management Studio. You can, however, create a SQL Server linked server to your Oracle instance and query remotely through that. You would connect to your SQL Server using SSMS like normal, but query your linked server using the linked server name in 4-part naming fashion, e.g: select * from [MyOracleServer]..MyDatabase.MyTable.
Here is a SQLMag tutorial on doing this: Connecting SQL Server and Oracle Using Linked Servers.
read this thread from MSDN
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/e6d61861-b271-4d93-b14e-12ba9356798f/connect-to-oracle-via-sql-server-management-studio?forum=sqltools
Question Sign in to vote 3 Sign in to vote Yes, you add linked server
and access Oracle data from SSMS and here is how you to add it. These
links will help you understand how to add and trouble shoot the
issues. Setting Up an Oracle Linked Server
How to set up and troubleshoot a linked server to an Oracle database
in SQL Server
Also in order to migrate an Oracle database to SQL Server, we can use
SSMA (SQL Server Migration Assistant for Oracle)
There is a migration assistant available for Oracle to SQL Server
Migration
http://www.microsoft.com/downloads/details.aspx?familyid=3e8722ae-77f3-4288-906d-f421e24d322f&displaylang=en
But all the system objects becomes null in this scenario
Thanks Sreekar
http://msdn.microsoft.com/en-us/library/ms190479.aspx

Verify 2 SQL Server linked servers to Oracle are equal

I am migrating SQL Server 2005 to SQL Server 2012.
One of the items to migrate is a linked server to oracle. The configuration of server, DNS, firewall, etc are not on my side.
I need to make sure they are configuring the correct linked server, pointing to the correct database (we have many copys of databases).
What Query can I run in both sql servers to identify the Oracles servers and databases are the same?
You can show all linked servers from the sys.servers table on each of the server instances.
select * from sys.servers;
The linked Oracle server will be listed under:
product = `Oracle`
and provider = `OraOLEDB.Oracle`

Resources