Solved

script generate and drop dependencies before changing collation on all tables

Posted on 2014-01-08
2
255 Views
Last Modified: 2014-01-17
Hello,

I search a script to generate and drop dependencies before changing collation on all tables.

Thanks

Regards
0
Comment
Question by:bibi92
2 Comments
 
LVL 35

Expert Comment

by:David Todd
ID: 39769851
Hi,

Adam Machanic had a script I used.
http://sqlblog.com/blogs/adam_machanic/archive/2010/04/04/rejuvinated-script-creates-and-drops-for-candidate-keys-and-referencing-foreign-keys.aspx

Its not the whole answer, but a good part of it.

Regards
  David
0
 
LVL 9

Accepted Solution

by:
MattSQL earned 500 total points
ID: 39778201
This also provides a pretty useful step by step of the process.

http://www.codeproject.com/Articles/302405/The-Easy-way-of-changing-Collation-of-all-Database
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

777 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