sqlinsight-pro/rules
Søren Eggert Lundsteen Olsen f362862b33 AX rules: find the AX system tables in any schema (AX 3.0 uses bmssa)
AX 3.0 owns its tables as the database user bmssa (bmssa.SQLDICTIONARY), so
looking only in dbo never recognised a real AX 3.0 database. Detection now
uses sys.tables by name in any schema; later AX versions in dbo still match.
Tested against mock AX 3.0 (bmssa, int RECID), AX 4+ (dbo, bigint RECID) and
a plain database.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 07:40:19 +02:00
..
community AX rules: find the AX system tables in any schema (AX 3.0 uses bmssa) 2026-10-02 07:40:19 +02:00