Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Instance name on report?

Author  Topic 

EA
Starting Member

19 Posts

Posted - 2007-05-11 : 08:56:17
Hi,

I want to display the name of the (named) instance on my report.

I've tried using expressions, but without succes!

Google-ing on it gives a lot of hits, but no answers....

Suggestions?

Thanks in advance!

Sojarat
Starting Member

11 Posts

Posted - 2007-05-22 : 14:23:42
Try adding the @@servername value to your query's result set as such:

SELECT column_a, column_b, @@servername
FROM TABLENAME
WHERE .....

It will (well should according to Books Online) return the servername\instancename value for the given instance the report it run against.
Go to Top of Page
   

- Advertisement -