VIVEKANANDHAN_PERIASAMY
asked on
Datetime format changed
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
And datetime format got changed.
I want make same for all.How to do it?
I checked by DBCC useroptions
ASKER
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
http://blogs.msdn.com/b/bartd/archive/2009/03/31/the-death-of-datetime.aspx
also check this
http://stackoverflow.com/questions/2432185/how-can-i-query-the-database-culture-sql-server-2005