Verifies whether full compatibility mode can be used.
sp_compatmode
1> sp_compatmode ----------------- Compatibility mode is enabled. WARNING: Compatibility mode may not be used when statement cache and literalautoparam are enabled. WARNING: The configuration option 'histogram tuning factor' is configured with value '20', which is not the default value in ASE 12.5. This may lead to different accuracy of statistics and different query plans. (return status = 0) 1>
This query reports whether compatibility mode is enabled or not. You see a warning if there are conflicts with the use of enable compatibility mode.
Available to any user.
For more information see the Migration Technology Guide.