Monday, March 26, 2012

Moving a database from Sort order 44 to Sort order 52

Can anyone point me in the right direction on the best way to take a SQL 6.5
sort order 44 database and move it and the data to a SQL 7.0 sort order 52
database ? The 6.5 to 7.0 part I got down (SQL Upgrade wizard). But this
sort order change has me dizzy...
It's been a while since I did any 6.5 upgrades but if I remember correctly
you can't upgrade between sort orders. You have to BCP out all the data,
recreate the schema with the correct sort order on 7.0 and then BCP it back
in. Why upgrade to 7.0 anyway? Why not 2000?
Andrew J. Kelly SQL MVP
"Nick" <Test@.test.com> wrote in message
news:elDz5$5YEHA.3664@.TK2MSFTNGP12.phx.gbl...
> Can anyone point me in the right direction on the best way to take a SQL
6.5
> sort order 44 database and move it and the data to a SQL 7.0 sort order 52
> database ? The 6.5 to 7.0 part I got down (SQL Upgrade wizard). But this
> sort order change has me dizzy...
>
|||Hi,
Upgrade wizard can not be used if the sort order id is different. The easy
way is :-
1. From SQL 6.5 Enterprise manager -- Object Menu -- Generate SQL Script.
2. Generate the script for all objects
3. COpy the Script to destination SQL 7 server
4. Create a new database in SQL 7 and execute the script. Ensure no error
occured
5. Use the DTS utility or BCP OUT/ IN to load the data into SQL 7
If you have huge volume of data it is recommended to go for BCP OUT, copy
the files to local SQl 7 server
and BCP IN.
Thanks
Hari
MCDBA
"Nick" <Test@.test.com> wrote in message
news:elDz5$5YEHA.3664@.TK2MSFTNGP12.phx.gbl...
> Can anyone point me in the right direction on the best way to take a SQL
6.5
> sort order 44 database and move it and the data to a SQL 7.0 sort order 52
> database ? The 6.5 to 7.0 part I got down (SQL Upgrade wizard). But this
> sort order change has me dizzy...
>
|||I'm planning to go to SQL 2K. However, I just needed help getting from one
sort order to another...
Isn't there a problem upgrading from SQL 6.5 directly to SQL 2K ?
Thanks to all for the help.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:eeTEeX7YEHA.992@.TK2MSFTNGP10.phx.gbl...
> It's been a while since I did any 6.5 upgrades but if I remember correctly
> you can't upgrade between sort orders. You have to BCP out all the data,
> recreate the schema with the correct sort order on 7.0 and then BCP it
back[vbcol=seagreen]
> in. Why upgrade to 7.0 anyway? Why not 2000?
> --
> Andrew J. Kelly SQL MVP
>
> "Nick" <Test@.test.com> wrote in message
> news:elDz5$5YEHA.3664@.TK2MSFTNGP12.phx.gbl...
> 6.5
52
>
|||Nick,
There is no issue going from SQL6.5 to SQL2k. In fact, it is much
preferred over SQL7. Ensure that you apply SQL2k SP3a after the upgrade.
It will be worthwhile to do some reading before you perform this work.
Check out these:
How to Upgrade SQL Server 6.5 and 7.0 to SQL Server 2000
http://www.microsoft.com/technet/pro...y/sqlugrd.mspx
Upgrading Databases from SQL Server 6.5 (Upgrade Wizard)
http://msdn.microsoft.com/library/de...grade_5dko.asp
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Nick wrote:
> I'm planning to go to SQL 2K. However, I just needed help getting from one
> sort order to another...
> Isn't there a problem upgrading from SQL 6.5 directly to SQL 2K ?
> Thanks to all for the help.
>
> "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
> news:eeTEeX7YEHA.992@.TK2MSFTNGP10.phx.gbl...
>
> back
>
> 52
>
>
|||According to one of the links Mark listed it seems you might be able to
upgrade to a different sort order after all. As always I would try it first
and make sure you have proper and tested backups before starting.
Andrew J. Kelly SQL MVP
"Nick" <Test@.test.com> wrote in message
news:ebt5sjCZEHA.3476@.tk2msftngp13.phx.gbl...[vbcol=seagreen]
> I'm planning to go to SQL 2K. However, I just needed help getting from one
> sort order to another...
> Isn't there a problem upgrading from SQL 6.5 directly to SQL 2K ?
> Thanks to all for the help.
>
> "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
> news:eeTEeX7YEHA.992@.TK2MSFTNGP10.phx.gbl...
correctly[vbcol=seagreen]
data,[vbcol=seagreen]
> back
SQL[vbcol=seagreen]
order[vbcol=seagreen]
> 52
this
>
|||Mark,
This is the upgrade issue I was referring to.
http://support.microsoft.com/default...b;en-us;818550
However, there are workarunds.
"Mark Allison" <marka@.no.tinned.meat.mvps.org> wrote in message
news:OfPYD%23CZEHA.3228@.TK2MSFTNGP12.phx.gbl...
> Nick,
> There is no issue going from SQL6.5 to SQL2k. In fact, it is much
> preferred over SQL7. Ensure that you apply SQL2k SP3a after the upgrade.
> It will be worthwhile to do some reading before you perform this work.
> Check out these:
> How to Upgrade SQL Server 6.5 and 7.0 to SQL Server 2000
> http://www.microsoft.com/technet/pro...y/sqlugrd.mspx
> Upgrading Databases from SQL Server 6.5 (Upgrade Wizard)
>
http://msdn.microsoft.com/library/de...grade_5dko.asp[vbcol=seagreen]
>
> --
> Mark Allison, SQL Server MVP
> http://www.markallison.co.uk
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
>
> Nick wrote:
one[vbcol=seagreen]
correctly[vbcol=seagreen]
data,[vbcol=seagreen]
SQL[vbcol=seagreen]
this[vbcol=seagreen]

No comments:

Post a Comment