Solved

script generate and drop dependencies before changing collation on all tables

Posted on 2014-01-08
2
250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
insert query with value having 's 2 47
Impove long SQL Stored Procedure Performance 14 69
sql query help 2 44
INSERT DATE FROM STRING COLUMN 18 49
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now