November 8, 2010 at 10:13 am
Is there any way I can show the data source connection string on the face of my reports?
It would be handy to know as I'm switching between 2 versions of the same database on occasion and things are getting a bit tricky.
November 8, 2010 at 10:58 am
You might not want the whole connection string for that. Has security implications.
If you add "@@servername" as a column in the query, and add that to the report, that should give you what you need. (Assuming they're on different servers.)
If the same server, DB_NAME will do for that.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
November 9, 2010 at 2:08 am
Thanks!
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply