Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL Data Query from Linked server

$
0
0

Hi Guys,

1. I have one DB called StandardSoftware with Tables SoftwareName And SoftwareType

2. I have another Linked Server called InstalledApplication with Table ApplicationName

I want to get the software type from the Linked server

How do I achieve it?

Below is the query I used but it doesn't work

SELECT * FROM OPENQUERY (LinkedServer,
'SELECT SoftwareType.,
ApplicationName
FROM Computers, StandardSoftware.dbo.standard_software');


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>