SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Collation Changes


Collation Changes

Author
Message
robert.jackson-943581
robert.jackson-943581
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 38
We have consoladated a bunch of databases on to a new SQL 2008 server. There are a wide variety of collations involved, although usually Latin1 based. The differences in collation between the databases and the servers are causing issues with old code so we are looking at standardising the collations.

What are the pro's and cons of doing this? Assuming the same CI/CS and AS settings, and staying with Latin1 I cannot see an issue with this...

For example moving Latin1_General_CI_AS on to SQL_Latin1_General_CP1_CI_AS

TIA

Rob
Shivrudra
Shivrudra
SSC Veteran
SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)

Group: General Forum Members
Points: 209 Visits: 880
because of different collation What type of issues you r facing did you found any Error Releted it.

Regards,
Shivrudra W
robert.jackson-943581
robert.jackson-943581
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 38
Hi,
it is when temporary tables are created because the server collation is different to the database collation. However, I've been looking at how to change the collation on the server and it is a pain. Changing the collation on the database looks easier but I'm not sure if changing the default then changes what already exists in the database, but I think not.

So... neither option looks like an easy option.
dmoldovan
dmoldovan
Say Hey Kid
Say Hey Kid (674 reputation)Say Hey Kid (674 reputation)Say Hey Kid (674 reputation)Say Hey Kid (674 reputation)Say Hey Kid (674 reputation)Say Hey Kid (674 reputation)Say Hey Kid (674 reputation)Say Hey Kid (674 reputation)

Group: General Forum Members
Points: 674 Visits: 1469
You can specify the collation at database level or table level, see BOL ---> COLLATE clause
Markus
Markus
SSCrazy
SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)

Group: General Forum Members
Points: 2989 Visits: 3767
The only way to change the database collation is to create a new db with the different collation and then move the objects and data into it. There is no easy way to change collations in an existing db.



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search