Skip to content

Instantly share code, notes, and snippets.

@maravilloso
Last active December 18, 2015 09:39
Show Gist options
  • Save maravilloso/5763122 to your computer and use it in GitHub Desktop.
Save maravilloso/5763122 to your computer and use it in GitHub Desktop.
Obtener el nombre de instancia de la BD
SELECT FIRST 1 DBSERVERNAME, DBINFO('dbhostname') FROM systables
-- Devolvera algo como "ids_inst6" "willy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment