Essa é Urgente - DBA sql_server
Galera é o seguinte eu preciso levar minha base de dados para outro servidor (Sql_sever 7). Mas neste outro servidor (sql_server 7) esta dando o seguinte erro no restore da base:
[color=red:1ff5f6f893]Server: Msg 3120, Level 16, State 1, Line 1[/color:1ff5f6f893]
[color=blue:1ff5f6f893]The database you are attempting to restore was backed up under a different sort order ID (52) than the one currently running on this server (54), and at least one of them is a non-binary sort order.[/color:1ff5f6f893][color=red:1ff5f6f893]Server: Msg 3013, Level 16, State 1, Line 1[/color:1ff5f6f893]
[color=blue:1ff5f6f893]Backup or restore operation terminating abnormally.[/color:1ff5f6f893]
como que eu faço para converter a base que esta no servidor de caracter 52 para o 54.
Desde jah agradeço!
[color=red:1ff5f6f893]Server: Msg 3120, Level 16, State 1, Line 1[/color:1ff5f6f893]
[color=blue:1ff5f6f893]The database you are attempting to restore was backed up under a different sort order ID (52) than the one currently running on this server (54), and at least one of them is a non-binary sort order.[/color:1ff5f6f893][color=red:1ff5f6f893]Server: Msg 3013, Level 16, State 1, Line 1[/color:1ff5f6f893]
[color=blue:1ff5f6f893]Backup or restore operation terminating abnormally.[/color:1ff5f6f893]
como que eu faço para converter a base que esta no servidor de caracter 52 para o 54.
Desde jah agradeço!
Coppola
Curtidas 0
Respostas
Vanius
09/05/2003
Boa tarde.
Acho q vc esta com um problemão.
No SQL Books On Line temos a seguinte mensagem:
´Copying Databases Between Different Code Pages and Sort Orders
A database can be backed up from one computer running Microsoft® SQL Server™ to another only if both use the same sort orders, Unicode collation, and code pages (character set), set up during installation. If a different sort order, Unicode collation, Unicode locale, or character set is used, the restore operation detects this and does not attempt to restore the database. To restore the database, SQL Server must be reinstalled in the destination computer using the same sort order, Unicode collation, and character set as the computer that performed the database backup.´
Traduzindo e resumindo, reinstale o SQL com o Sort Order igual ao outro...
Vc pode tentar fazer o seguinte, sendo q acho q dara a mesma MSG.
Copie os arquivos MDF e LDF do seu atual servidor para um diretório do
novo servidor.
No Query Analyser, digite:
EXEC sp_attach_db @dbname = N´pubs´,
@filename1 = N´c:\mssql7\data\pubs.mdf´,
@filename2 = N´c:\mssql7\data\pubs_log.ldf´
Onde pubs --> Nome do seu DB
c:\mssql7\data\pubs.mdf --> Arquivo MDF
c:\mssql7\data\pubs_log.ldf --> Arquivo LDF
Você deverá trocar as informações acima para as devidas informações do
seu DB.
Não sei se isto irá te ajudar, mas esta é uma boa dica de como restaurar
seu DB sem ter o arquivo de backup do SQL.
Até mais.
Vanius Girodo
vanius@bol.com.br
Acho q vc esta com um problemão.
No SQL Books On Line temos a seguinte mensagem:
´Copying Databases Between Different Code Pages and Sort Orders
A database can be backed up from one computer running Microsoft® SQL Server™ to another only if both use the same sort orders, Unicode collation, and code pages (character set), set up during installation. If a different sort order, Unicode collation, Unicode locale, or character set is used, the restore operation detects this and does not attempt to restore the database. To restore the database, SQL Server must be reinstalled in the destination computer using the same sort order, Unicode collation, and character set as the computer that performed the database backup.´
Traduzindo e resumindo, reinstale o SQL com o Sort Order igual ao outro...
Vc pode tentar fazer o seguinte, sendo q acho q dara a mesma MSG.
Copie os arquivos MDF e LDF do seu atual servidor para um diretório do
novo servidor.
No Query Analyser, digite:
EXEC sp_attach_db @dbname = N´pubs´,
@filename1 = N´c:\mssql7\data\pubs.mdf´,
@filename2 = N´c:\mssql7\data\pubs_log.ldf´
Onde pubs --> Nome do seu DB
c:\mssql7\data\pubs.mdf --> Arquivo MDF
c:\mssql7\data\pubs_log.ldf --> Arquivo LDF
Você deverá trocar as informações acima para as devidas informações do
seu DB.
Não sei se isto irá te ajudar, mas esta é uma boa dica de como restaurar
seu DB sem ter o arquivo de backup do SQL.
Até mais.
Vanius Girodo
vanius@bol.com.br
GOSTEI 0