This blog shows how to get the current sessions Server Instance name in SQL Server
Example:
SELECT @@SERVERNAME Server Name
SQL Server Transact Basic to Expert - Get Current SQL Server Instance Name
SQL Server Transact Basic to Expert - Get Current SQL Server Instance Name

Join the conversation! Your thoughts help the community grow.