But there is a command line option available in finsql.exe. You can leverage it, by building in NAV a command firing prepared finsql.exe with command line parameters forcing compilation iof all (or selected) objects
Actually i want on action button from RTC as i click on button the table should be compiled.
It is a very strange request in my opinion. What sort of problems are you trying to solve? What is the root cause for the request to letting someone to compile a table from the client UI? Bear in mind that a table compilation may have quite dramatic effect on other users, thet may be forced to restart their sessions.
Somethinng must have changed in your system if it used to work and then after some time it stopped, and recompilation helps wit the issue. Question is what and how.
Do you restart the NST in the meantime? Is the failure related in any way to the SQL or NST service restarts?
Answers
But there is a command line option available in finsql.exe. You can leverage it, by building in NAV a command firing prepared finsql.exe with command line parameters forcing compilation iof all (or selected) objects
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
https://blogs.msdn.microsoft.com/nav/2014/11/27/how-to-compile-a-database-twice-as-fast-or-faster/
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
It is a very strange request in my opinion. What sort of problems are you trying to solve? What is the root cause for the request to letting someone to compile a table from the client UI? Bear in mind that a table compilation may have quite dramatic effect on other users, thet may be forced to restart their sessions.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
and certain table compilation helps? For how long then?
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Do you restart the NST in the meantime? Is the failure related in any way to the SQL or NST service restarts?
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03