Advertise on fullfatrr.com »

Home > Off Topic > SQL Server question
Post Reply  Down to end
Page 1 of 1
Print this entire topic · 
mzplcg



Member Since: 26 May 2010
Location: Warwickshire. England. The Commonwealth.
Posts: 4029

United Kingdom 2014 Range Rover Vogue SE SDV8 Corris Grey
SQL Server question

Hi chaps. A quick SQL query (awful pun intended) if I may please.

Can I have different Locales for each database on a SQL cluster? i.e. each database has it's own locale and timezone

OR (as I suspect)

Does MS-SQL Server take the locale from the underlying OS (Windows) or from the SYS database which manages the production databases.

SQL 2012 on Windows Server 2012.

Ta

Dom

Post #278794 3rd Sep 2014 9:34am
View user's profile Send private message View poster's gallery Reply with quote
stephen44



Member Since: 19 Feb 2014
Location: IN
Posts: 5

United States 2005 Range Rover HSE 4.4 V8 Java Black

not directly - you are right it just gets it from the OS.
However using UTC times with offsets will accomplish what you need probably.

see:

http://social.msdn.microsoft.com/Forums/sq...getstarted

look at the links in the answer with the blue tick against it.


also a worse pun...

a DBA walks into a bar and sees two sql queries sat at a table - he walks up to them and says "mind if I join you ?' Stephen
USA (originally from London) - 2005 L322 HSE

Post #278832 3rd Sep 2014 1:19pm
View user's profile Send private message View poster's gallery Reply with quote
mzplcg



Member Since: 26 May 2010
Location: Warwickshire. England. The Commonwealth.
Posts: 4029

United Kingdom 2014 Range Rover Vogue SE SDV8 Corris Grey

Thumbs Up That's kind of where I'm getting to. There seem to be functions in .NET for offsetting against UTC which might do what I need.

Post #278860 3rd Sep 2014 2:40pm
View user's profile Send private message View poster's gallery Post Reply
Post Reply  Back to top
Page 1 of 1
All times are GMT

Jump to  
Previous Topic | Next Topic >
Posting Rules
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Site Copyright © 2006-2024 Futuranet Ltd & Martin Lewis
fullfatrr.com RSS Feed - All Forums


Switch to Mobile site