Getting metadata and status information for connections

Connection metadata and status information includes:

StepsTo get metadata and status information about a specific primary database connection

  1. Use sp_helpprimaryconn with the info keyword, and specify a database connection:

    sp_helpprimaryconn info, "conn_name"
    

    where conn_name is the connection name in the form ds.db.

StepsTo get metadata and status information about all primary database connections

  1. Use sp_helpprimaryconn without specifying a keyword or database connection:

    sp_helpprimaryconn
    

StepsTo get metadata and status information about a specific replicate database connection

  1. Use sp_helpreplicateconn with the info keyword, and specify a database connection:

    sp_helpreplicateconn info, "conn_name"
    

    where conn_name is the connection name in the form ds.db.

StepsTo get metadata and status information about all replicate database connections

  1. Use sp_helpreplicateconn without specifying a keyword or database connection:

    sp_helpreplicateconn