I have noticed that there are two command syntaxes to change database configuration settings in SQL Server - ALTER DATABASE SCOPED CONFIGURATION and ALTER DATABASE SET. However, I am unclear on which database settings fall under each syntax.
For example, I know that database compatibility is a database-specific setting, but it uses the ALTER DATABASE SET syntax. This makes me wonder why it does not use the ALTER DATABASE SCOPED CONFIGURATION syntax.
So, my question is: Do you have any mental guide that help identify which database settings fall under which syntax? I would appreciate any insights or information on this topic.