Dynamics Ax SQL Trace

Hi there, here is a simple job to enable SQL tracing for all your users, this quite handy for optimizing queries. (The macro’s for modifying other fields on the UserInfo table can be found on the ClassDeclaration of the SysUserSetup form.) boolean enable = true; UserInfo userInfo;   #LOCALMACRO.FLAG_SQLTrace ( 1 << 8 ) #ENDMACRO… Continue reading Dynamics Ax SQL Trace