• Is that Tagalog :-)? Can you write it again in English for us?

    I'm not quite sure if this is what you want, but...

    - for server name: SELECT @@SERVERNAME

    - for database name of current database: select DB_NAME()