Microsoft SQL Server Error 5030
So, if you are trying to change the collation of a database and getting error 5030, this is much likely because you cannot change the collation of a database when it is in Multi_User mode. In this case, you should try to run the following query.
-- the following line sets the database to "Single User" mode ALTER DATABASE DBNAME SET SINGLE_USER WITH ROLLBACK IMMEDIATE -- the following line sets the new collation ALTER DATABASE DBNAME COLLATE COLLATIONNAME -- the following line sets the database back to "Multi User" mode ALTER DATABASE DBNAME SET MULTI_USER
DBNAME: Database name
COLLATIONNAME: New collation’s name. E.g.: Latin1_General_CI_AI
thanks for good content that work for change collation in database
tanx very much
Vielen Dank.
Fritz aus Wien.
Worked properly, tks a lot!
It solved my problem
Thanks millions!
Worked for me too. Thank you very much!
Thank you worked like a charm !!!!!
+1
thanq so much it wrk out for me
thnx alot
Thanks, it worked, you are amazing! ;-)
Thanks a tons !! This worked like a charm for me !!
Thank you very much, it helps to change collation successfully ………