The same action can be performed by using Transact-SQL. Use the following statement to enable Query Store in the WideWorldImporters database:
ALTER DATABASE WideWorldImporters SET QUERY_STORE = ON;
The same action can be performed by using Transact-SQL. Use the following statement to enable Query Store in the WideWorldImporters database:
ALTER DATABASE WideWorldImporters SET QUERY_STORE = ON;