Obtener en DB2 el servidor actual con SYSDUMMY1

Use SYSDUMMY1 in DB2 to obtain the actual server name Oscar_paredes Mon, 11/18/2019 - 08:16

By using the auxiliar table sysdummy1 you can query information about a server with DB2 installed.

Next query shows how to obtain the DB2 server name where the session is connected:

SELECT CURRENT SERVER
 FROM SYSIBM.SYSDUMMY1