To get the SQL sort order identifier, use SERVERPROPERTY('SqlSortOrder') . The list of sort orders for ancient SQL 7.0 products is still available in places such as here . Currently, although everyone calls it 'server mapping .
Saying, I've never seen @@DEF_SORTORDER_ID , and I don't know what it is ...
source share