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

SSRS Datasource Syntax

$
0
0

I'm creating a SSRS that uses several data sources within it. The last column (and source) that I need comes from an Excel sheet located on a network share. Instead of an ODBC that grabs theExcel sheet as a data source (I suppose I could do this, I just didn't think it would be dynamic), I made the Excel sheet a linked server on one of the SQL servers I was already using in my SSRS. My question is what is the syntax for the connection string for a linked excel server? When you query that linked server, it's 'select * from [x]...Sheet1$' The normal connection string I use is: 'Data Source= X; Initial Catalog=Xx; Integrated Security=True'

SO. The connection string for the linked Excel? Everything I've tried has failed so far. This is the part where it tell you what I've tried... yeah... I've just mixed them together. 'Data Source = X;...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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