Change SQL Server Collation
Change SQL Server Collation
I think that is pretty clear there what to do. As a reminder, the preferred method to stop and
start SQL Server services is via the SQL Server Configuration Manager. We won’t do every
start/stop from here for this article for good reason.
Once the services are stopped, then we need to open an administrative command prompt and
navigate to the SQL Server binn directory as shown here.
This is for a default instance on SQL Server 2017. If you have a named instance or a different
version of SQL Server, you will need to navigate the instance folder structure for your instance.
There are more such as -s available in books online for your perusal.
If you are curious what is up with those Trace Flags, pretty simple. TF4022 is to bypass startup
procs. TF3659 on the other hand is supposed to write errors to the error log (at least in theory).
When the script starts, you will see something like the next two screens:
In the first, you can see that it says it is attempting to change the collation. In the second, just
before the completion message, it states that the default collation was successfully changed.