?
Solved

Need to change SQL collation

Posted on 2011-09-07
3
Medium Priority
?
276 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 800 total points
ID: 36501002
0
 
LVL 9

Assisted Solution

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

Assisted Solution

by:lcohan
lcohan earned 400 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

801 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