Is there an out of the box equivalent to Sybase or SQL Server @@servername

Database

Is there an out of the box equivalent to Sybase or SQL Server @@servername

A script needs to determine if it is being run in production or non production region and take the approrpiate actions.

Assume database names are the same in all regions. User Id won't help in this shop.

Will a 'dbc' artifact hold this information?  How would one list all 'dbc' information sources to possibly review each one individually to see if the data needed is there?

Thank You.

1 REPLY

Re: Is there an out of the box equivalent to Sybase or SQL Server @@servername

Have you got solution for this question? I'm also having same question.