Joined: 23 Jan 2017
Online Status: Offline
Posts: 2
Topic: Variable per server Posted: 24 Jan 2017 at 11:14am
Hi everyone, I like to use same report on test and production, but display a "Testenvironment" string on test. I do have same databases on both sides. Do I have somehow a global variable on server level, e.g. servername, which I can use to identify on which environment the report is being executed?
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Posted: 24 Jan 2017 at 1:38pm
Out of the box, I do not think so. Someone may have created a custom function that might do that. The only other thing I can think of (Not the best DB practice). Have a standalone table in each database with an identifying value. Then you could look for that.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum