Solved

sql server  - Database Collation and Server Collation Different

Posted on 2009-07-02
4
301 Views
Last Modified: 2012-05-07
I have just restored a copy of a database created by a third party company on a second server so I can test it.

When I ran into the inevitable problems, the 3rd party support guy looked at it and said that I should expect problems because the database collation (SQL_Latin1_General_CP1_CI_AS) was different from the server collation (Latin1_General_CI_AS). He said that if I reconciled the server collation to the database collation (not the reverse) it would be just fine.

I am familiar with the concept of collation but have the following questions:

1. How to change the server collation to SQL_Latin1_General_CP1_CI_AS ?

2. Why might it matter that the two are different?

I don't want to change anything if I don't have to as rumour has it that the process is rather messy.

TIA

Hopeful Kiwi
0
Comment
Question by:kiwi_731
  • 2
  • 2
4 Comments
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 210 total points
ID: 24763586
if you want to change collation of sql server itself, follow the below link

http://blogs.digineer.com/blogs/jasons/archive/2007/10/18/change-sql-server-collation.aspx

if you want to change collation of only one database than

alter database dbname collate SQL_LATIN_GENERAL1_CI_AS
0
 

Author Comment

by:kiwi_731
ID: 24858580
Hi Ritesh

Sorry about the long delay, due to the fact that I am dependent on other people to put the changes through for me.

I will assign points as soon as I know how they have got on.

Hopeful Kiwi
0
 

Accepted Solution

by:
kiwi_731 earned 0 total points
ID: 24983098
Hi Ritesh

The IT people have finally come back. I posted them the link http://msdn.microsoft.com/en-us/library/ms179254(SQL.90).aspx from one of the comments under the thread that you mentioned , and they managed OK. They created a separate server instance with the corrected collation as there was already another database on the physical server which they didn't want to disturb.

Thanks for your help.

Hopeful Kiwi
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 25011494
glad to know that you are now free from this problem.

Ritesh Shah

http://www.SQLHub.com 
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to automate & schedule this Index optimization Script ? 10 76
sql calculate reminders 11 70
SQL help 5 51
My Query is not giving correct result. Please help 5 32
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now