Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I findout what's my MSSQL server collation?

Is there a SQL I can execute to find out?

like image 420
OscarRyz Avatar asked Feb 22 '11 00:02

OscarRyz


1 Answers

The server default collation:

select serverproperty('collation')

Which is the same as

select databasepropertyex('master','collation')

Check SERVERPROPERTY in Books Online for other information you can get about the server (instance).

like image 91
RichardTheKiwi Avatar answered Oct 23 '22 17:10

RichardTheKiwi