Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Restore after sort order changing problem

Posted on 1998-07-03
2
Medium Priority
?
184 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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

575 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