Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Restore after sort order changing problem

Posted on 1998-07-03
2
Medium Priority
?
183 Views
Last Modified: 2010-03-19
I want to change sort order to custom, so I was doing:
1. define a "mysort.srt" file (ID: 71, old was 52),
2. backkup all users databases,
3. rebuild master databases with setup utility.

Rebuild is done succesfully.

Then, I want to restore all users databases,
but in some databases I get an error message like this:
"In databases are index on char columns in another
sort order", and i havo no choices - only OK -
restore process was broken.

What can I do to restore my databases in new sort order ?

apsoft
0
Comment
Question by:apsoft
2 Comments
 
LVL 7

Accepted Solution

by:
Victor Spiridonov earned 100 total points
ID: 1091657
You can not load data backed up under one sort order into database having different sort order. You should first unload data into text files (using BCP) then change sort order/rebuild and load data back from text files.
0
 

Author Comment

by:apsoft
ID: 1091658
:(
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question