Created
April 29, 2011 09:03
-
-
Save max-mulawa/948076 to your computer and use it in GitHub Desktop.
Create DatabaseWithPolishCollation
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
GO | |
IF NOT EXISTS(SELECT * FROM sys.databases | |
WHERE name = 'DatabaseWithPolishCollation') | |
BEGIN | |
CREATE DATABASE DatabaseWithPolishCollation COLLATE Polish_CI_AS | |
END | |
GO | |
SELECT SERVERPROPERTY('Collation') | |
--Resturns on my server: Latin1_General_CI_AS_KS_WS | |
GO | |
SELECT DATABASEPROPERTYEX('tempdb','Collation') | |
--Resturns on my server: Latin1_General_CI_AS_KS_WS | |
--same as server collation | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment