If you want to get SQL database name in axapta which is connected with your current Ax application then you can write below code to check the same. Sqlsystem sys = new Sqlsystem(); info(sys.logindatabase());
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .