Cannot Alter the Schema – Msg 15151, Level 16, State 1, Line 1
A rookie developer reached out to me requesting help to move a couple of tables to a new schema. Thinking the developer did not have permissions to the one of … Continue Reading →
Resolutions found in SQL Server, Oracle, Teradata, and other issues
Microsoft SQL Server database system
A rookie developer reached out to me requesting help to move a couple of tables to a new schema. Thinking the developer did not have permissions to the one of … Continue Reading →
Working with some new monitoring software, I need to locate the directory of the SQL Server’s Errorlog. This location is not standard and differs by each version of SQL Server. … Continue Reading →
Probably the fastest way to enable Query Store for a database is run the “ALTER DATABASE” command in a query window. First check that the database is not already have … Continue Reading →
When applying a hotfix update to SQL Server 2012, the step where “Check File In Use” produced the following error: The ‘fdhost.exe’ process is not controlled by the update wizard. … Continue Reading →
Problem: This was a compound problem I had on a production SQL Server 2014 instance. First was someone who scheduled a couple of load jobs at the same time which … Continue Reading →
This query will bring back only those databases where the Query Store is enabled in the SQL Server instance. — Show All Query Store Enabled Databases select name as ‘DATABASE … Continue Reading →
If the Query Store, from an SQL Server 2016 instance or greater, information is missing, it may be because the version of the SQL Server Management Studio is not at … Continue Reading →
Warning: this method of changing SQL Server’s default collation is not supported by Microsoft The issue was an instance of SQL Server was installed with the default collation (SQL_Latin1_General_CP1_CI_AS), and … Continue Reading →
After reading an old article about the SQL Server DMV sys.dm_os_wait_stats running on SQL Server 2005. I learned about the undocumented trace flag 8001, which enables all the wait types … Continue Reading →
When attempting to change an email account in my Database Mail, I received the following error: Msg 14604, Level 16, State 1, Procedure sysmail_verify_account_sp, Line 14 Both account parameters (id … Continue Reading →