If I do not have access to use db12 in the sap system.
What is the logic behind this? Sorry, really not able to understand.
DB12 is just a monitoring tcode, you do not have authorization. But it seems you have authorization to access your database directly using SSMS!
*You can follow the above steps to get the details (as mentioned by other techies).
Regards,
Nick Loy