We have a SharePoint oriented environment where all the content and config databases are hosted on SQL Server. My question is there some way from SQL Server end to find out if the content databases are attached to SharePoint CA? The only way I know to find this info is to log into the server and run the Get-SPDatabase command to get all the databases attached to the CA. Can this somehow be achieved from backend? By using SQL Queries.