Telly B. sent in a representative line that returns database connection information... from the database.

SELECT 'driver={SQL Server};user id=<removed>;pwd=<removed>;' +
       'Network=dbms;server=127.0.0.1;database=<removed>;'
    AS dbconn
  FROM users

It's like keeping your spare set of car keys inside your car. Brilliant!

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!