Solved

Datetime format changed

Posted on 2013-06-20
4
297 Views
Last Modified: 2013-06-23
When I login through windows authenication,it take language as US and when i login through SQL authenication it take as British.

And datetime format got changed.
I want make same for all.How to do it?

I checked by DBCC useroptions
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 39263527
Is getting the culture language according the client when you login through windows and the server one when you login through the sql. on this post they tell that the best solution is check on the client side the culture and apply what you need (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_21110441.html)

also check this
http://stackoverflow.com/questions/2432185/how-can-i-query-the-database-culture-sql-server-2005
0
 
LVL 5

Author Comment

by:VIVEKANANDHAN_PERIASAMY
ID: 39264082
1.How to make common language setting irrespective to the logins?

2.What determine this setting when i create the logins?

3.Through SQL logins it's british and through Window is US. How to make to it common around the logins?
0
 
LVL 13

Accepted Solution

by:
Jesus Rodriguez earned 500 total points
ID: 39266472
0
 
LVL 1

Expert Comment

by:yechan
ID: 39266710
Have you looked into datetimeoffset?  This gives you an "absolute" time as opposed to local/server time.  Please take a look at the following article.  It might prove to be useful.

http://blogs.msdn.com/b/bartd/archive/2009/03/31/the-death-of-datetime.aspx
0

Featured Post

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question