What's New

This page describes recent changes in MQL Command Reference.

R2027x GA November 2026

 

Between Operator in Query Where Clauses

You can use the between operator in a query where clause to test whether originated, modified, or a single-value integer, real, or date attribute falls within a range.
Benefits: Date and numeric ranges map to SQL BETWEEN for better performance. Selective range queries are more likely to satisfy bad-query rules than chained comparisons.

For example:

temp query bus MyType * * where 'modified between "2026/08/01@00:00:00:GMT" "2026/08/22@23:59:59:GMT"'

Combine between with other selective criteria (such as type or owner). Dimension attributes are not supported.

R2026x FD04 August 2026

This is a maintenance release with no new features.

R2026x FD03 June 2026

This is a maintenance release with no new features.

R2026x FD02 April 2026

 

Defining Separate User Rules

You can define separate user rules for a business object with the maybecomposed type created either as a standalone object or a composee under a given composer using the policy enablecreateascomposee and createascomposee access type.
Benefits: In earlier releases, the create access defined in a policy could not distinguish between the standalone and composee cases.
If enablecreateascomposee is set on a policy, then the create access is evaluated only for standalone object creation, while the createascomposee access is evaluated for composee object creation.
 

Selectables for Custom Data

You can use customdata to retreive data.
Benefits: The customdata selectable retrieves data faster.
Related topics: context Command.

R2026x FD01 January 2026

 

scriptname Command

You can use the scriptname command to retrieve the name of the running MQL script.
Benefits: This helps you find the name of the script currently running in MQL.
Adding this command in a MQL file prints out the file name when it is run.

R2026x GA November 2025

This is a maintenance release with no new features.

R2025x FD04 August 2025

 

Cleaning the Database Using Tidy Vault

You can use the tidy vault command to do a routine or full cleanup of the database rows related to normal object deletions.
Benefits: The tidy vault command eases the routine maintanence job and cleaning up of the database.
You can also allocate a specific time for the command to run after which the command times out.
Related topics: vault Command.

R2025x FD03 June 2025

 

Resetting Values While Cloning or Revising

You can reset values of objects with values that are no longer in range to their defaultvalues while cloning or revising objects using resetonclonewhenoutofrange and resetonrevisionwhenoutofrange attributes.
Benefits: You can reset values of objects that are outside the scope to its default value.

R2025x FD02 April 2025

 

changepolicy Events Support for Precommit Triggers

Precommit triggers are called for changepolicy events.
Benefits: In earlier releases, changepolicy events were not supported for precommit triggers.
Related topics: type Command.
 

Setting keepformat Flag on Existing Attributes

You can set the keepformat flag on an existing attribute with instance data without transitioning the values.
Benefits: The transition command used to set the keepformat flag might modify the inputvalue string. The modify attribute command now allows an attribute to keepformat without transitioning the values.
Related topics: Modify Attribute.
 

Unsetting !hasdefault Attributes

The MQL clause unset attribute ATTRIBUTE_NAME in the modify businessobject command, allows you to unset previously set !hasdefault attributes.
Benefits: In earlier releases, there was no option to unset a previously set attribute.
Related topics: Modify Attribute.

R2025x FD01 January 2025

 

Filtering Admin Events

You can use an admin filter to define the events of interest so that only these events are generated by the system.
Benefits: Filtering events allows you to focus on events of interest.
Related topics: eventmonitor Command.
 

Replacing [level 0|1|2|3|4] in validate Command with update database statistics Command

The [level 0|1|2|3|4] in the validate command is replaced with the update database statistics command. The update database statistics command is used to force an update of database statistics for all tables.
Benefits: The update database statistics command eliminates the need to specify levels required with the validate command and simplifies the process.

R2025x GA November 2024

This is a maintenance release with no new features.