This article describes the supported SQL compatibility level in Dynamics SL.
Dynamics SL version Supported SQL Compatibility level
SL2015 100
SL2018 120
In the SQL Server Management Studio query window, set the compatibility by
running the following statement where <XXX> is the appropriate level:
sp_dbcmptlevel ' ', 'XXX'
Example: sp_dbcmptlevel 'SLDemoApp60', '120'