Solved

Need to change SQL collation

Posted on 2011-09-07
3
256 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
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 39

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

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

840 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