(LASTMOD('tablename'))
Returns the last structural modification date time value for a table or view.
In the following example, the date and time is provided for when the structure of the Tasks table was last modified.
SET VAR vTaskTableModDate DATETIME = (LASTMOD('Tasks'))
R>SHOW VAR vTaskTableModDate
01/06/2019 10:50 AM