KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to Determine if a Command can be Executed on 4D Server?
PRODUCT: 4D Server | VERSION: 12 | PLATFORM: Mac & Win
Published On: April 21, 2011

The 4D Language Reference does not specify which commands can be used on 4D Server on a per-command basis. Instead this topic is covered in the section on Stored Procedures in the 4D Server Reference. It is important to understand, however, that these command limitations apply to all code executed on 4D Server and not just those processes specifically defined as "stored procedures". This includes methods executed with the "Execute on server" method property as well as methods called as SQL functions (because the SQL code executes on the server). So it is important to think about the execution context of the command in order to determine whether or not it is safe to execute. If it will execute on the server, make sure it is not in the list of forbidden and inappropriate commands.