error collation
Publicado por rgf95 (3 intervenciones) el 20/08/2020 08:59:23
Buenas.
Estoy intentando hacer una consulta desde SQL Server a una base de datos de Wonderware Historian. El backup que me pasaron viene con la collation de Modern_Spanish_CI_AS y necesito que tenga SQL_Latin1_General_CP1_CI_AS. Intento cambiarlo dando a boton derecho sobre dicha base de datos Properties -> Options y en Collation seleccionando la que yo quiero pero me este error:
Alter failed for Database 'Runtime'.(Microsoft.SqlServer.Smo)
Additional information:
An exception occurred while executing a transact-sql statement or batch.(Microsoft.SqlServer.ConnectionInfo)
The database could not e exclusively locked to perform the operation. ALTER DATABASE failed. the default collation of database'Runtime' cannot be set to SQL_Latin1_General_CP1_CI_AS.(Microsoft SQL Server, Error. 5030)
Se os ocurre que puedo hacer para poder cambiar la collation?
Estoy intentando hacer una consulta desde SQL Server a una base de datos de Wonderware Historian. El backup que me pasaron viene con la collation de Modern_Spanish_CI_AS y necesito que tenga SQL_Latin1_General_CP1_CI_AS. Intento cambiarlo dando a boton derecho sobre dicha base de datos Properties -> Options y en Collation seleccionando la que yo quiero pero me este error:
Alter failed for Database 'Runtime'.(Microsoft.SqlServer.Smo)
Additional information:
An exception occurred while executing a transact-sql statement or batch.(Microsoft.SqlServer.ConnectionInfo)
The database could not e exclusively locked to perform the operation. ALTER DATABASE failed. the default collation of database'Runtime' cannot be set to SQL_Latin1_General_CP1_CI_AS.(Microsoft SQL Server, Error. 5030)
Se os ocurre que puedo hacer para poder cambiar la collation?
Valora esta pregunta


0