Hello!
I would like to find all classes not up to date in a namespace programmatically.
With IRIS Studio, we can see the single "+", but I don't know how to do that with a script.
Set sql = "SELECT ID, Name FROM %Dictionary.ClassDefinition WHERE NOT ID %STARTSWITH ?"
Set params($Increment(params)) = "%"
Set tResult = ##class(%SQL.Statement).%ExecDirect(, sql, params...)
If (tResult.%SQLCODE'=0)&&(tResult.%SQLCODE'=100) Set sc = $$$ERROR($$$SQLError, tResult.%SQLCODE, tResult.%Message) Quit sc
While tResult.%Next() {
// if class not up to date ??
}