Jan 10, 2012

How to get the current database name in axapta

Axapta supports a class called SysSqlSystemInfo by using this calss we can get the current database name...

static void sqlSysName(Args _args)
{
    ;
    info(SysSQLSystemInfo::construct().getloginDatabase());
}

No comments: