Network Management
Supported SolarWinds database collations for SolarWinds Platform 2015.1 or later
SolarWinds supports the following database collations on the SQL Server: SQL_Latin1_General_CP1_CI_AS. SQL_Latin1_General_CP1_CS_AS. German_PhoneBook_CI_AS. Japanese_CI_AS. Chinese_PRC_CI_AS. You can change SQL Server Collation manually via cmd prompt command. Doing so would mean your DBA would need to take ownership.
First published date
Last published date
Overview
Note: The SolarWinds Platform does NOT support case-sensitive database collations. However, the SQL server can be both case-sensitive and case-insensitive.
SolarWinds supports the following SolarWinds Platform and Temp Database collations:
-
English with collation setting SQL_Latin1_General_CP1_CI_AS (most commonly used)
-
English with collation setting SQL_Latin1_General_CP1_CS_AS
-
German with collation setting German_PhoneBook_CI_AS
-
Japanese with collation setting Japanese_CI_AS
-
Simplified Chinese with collation setting Chinese_PRC_CI_AS
Product section
Cause
Resolution
-
Create a backup of your data.
-
Re-install your SQL instance with a supported collation.
-
Re-create your tables.
-
Import your data.
-
Check the collation in SQL Management Studio.
For example, your collation could beDanish_Norwegian_CI_AS. -
To edit the SQL Instance Collation, stop the SQL Server Instance. You can use Services.msc, cmd or SQL Management Studio to do this.
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. NET STOP "MSSQLServer" -
Execute the command below.
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation.
sqlservr -m -T4022 -T3659 -s"MSSQLServer" -q"SQL_Latin1_General_CP1_CI_AS"The parameter -s is only necessary if more than one SQL Server instance exists on the target machine. Parameters used:At the end of a long SQL message, you can find the information that the Collation updated successfully.-
[-m] single user admin mode
-
[-T] trace flag turned on at startup
-
[-s] sql server instance name
-
[-q] new collation to be applied
-
-
Close the cmd prompt window after the execution ends.
-
Change the collation of the SolarWinds Platform database:
-
Connect to the Database Engine.
-
Click New Query in the Standard bar, and run the following SQL query:
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. USE master; GO ALTER DATABASE YourOrionDatabaseName COLLATE SQL_Latin1_General_CP1_CI_AS ; GO -
Verify the database collation setting.
-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.
SELECT name, collation_name
FROM sys.databases
WHERE name = N'YourOrionDatabaseName';
GO
-