Created
February 24, 2015 11:51
-
-
Save seanbamforth/839386abaca60f94fabf to your computer and use it in GitHub Desktop.
change collation on all tables in sql server (mssql)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT 'ALTER TABLE [' + SYSOBJECTS.Name + ']' + ' ' + ' COLLATE Latin1_General_CI_AS ' | |
FROM SYSOBJECTS | |
WHERE SYSOBJECTS.TYPE = 'U' | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment