Solved

Need to change SQL collation

Posted on 2011-09-07
3
269 Views
Last Modified: 2012-08-13
hi a developer has come to site and created a database with the wrong collation
they have created collation : sql_latin1_general_CP1_CI_AS

instead of
Latin1_General_CI_AS

can I get the command sequence to force this change.
0
Comment
Question by:Amanda Walshaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 200 total points
ID: 36501002
0
 
LVL 9

Assisted Solution

by:mimran18
mimran18 earned 200 total points
ID: 36501070
0
 
LVL 40

Assisted Solution

by:lcohan
lcohan earned 100 total points
ID: 36505798
Carefull that changing database collation does not changes ALL existing columns collation by default but just new objects/columns from that moment on will have the new collation. You will have to write dynamic or static code depending how many "text" type columns you have to alter table alter column with new collate.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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