How can I query the database culture (SQL Server 2005)?

How can I query the database culture (SQL Server 2005)?

I have problems inserting and retrieving dates because client servers do not work in the same culture as my developer server.

I can set the date, but I need to know the server culture ...

+3
source share
2 answers

You can find out about the currently configured language using this:

SELECT @@language

and you can also check this:

EXEC sp_helplanguage

It will show the available languages, as well as what date formats, etc. This is mainly the contents of the system catalog table sys.syslanguages.

- DateTime , ,

+5

.

  • , DATES / , , / . , foe ( ), .
  • , ISO (2010-12-05 23: 15: 22.233), .
0

Source: https://habr.com/ru/post/1736639/


All Articles