Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Changing database collation SQL 2008

$
0
0

I am getting the below error -:

Msg 1505, Level 16, State 1, Line 2
The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'sys.sysschobjs' and the index name 'nc1'. The duplicate key value is (0, 1, seecurrencysymbol).
Msg 5072, Level 16, State 1, Line 2
ALTER DATABASE failed. The default collation of database 'EVSYS' cannot be set to SQL_Latin1_General_CP1_CI_AS.

Here are the requirement and the steps I have done.

1. Change collation from Latin1_General_BIN to SQL_Latin1_General_CP1_CI_AS for a user database EVSYS on a default instance
2. Installed a new instance SQL2008 with  SQL_Latin1_General_CP1_CI_AS and restoed the EVSYS database
3. When I try to alter the collation I am getting error, I got stuck now

please help me how to get rid of this error.

The only way to change collation is to recreate the objects and BCP/SSIS the data is it ?

Thanks in advance.


Ganesh


Viewing all articles
Browse latest Browse all 15889

Trending Articles