Solved

SQL 2005 Time Format needs to be UK

Posted on 2009-05-14
11
314 Views
Last Modified: 2013-11-16
Hi

Our new SQL server 2005 database is using american time format, causing the newly migrated databases to fall over.

Could someone please advise how to change the time format to UK time in SQLserver 2005.

Kind regards

TMOTech
0
Comment
Question by:TMOTech
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24383775
0
 

Author Comment

by:TMOTech
ID: 24383881
Hi

No help I'm afraid.

The default time needs to be (DMY) instead of (MMDDYY) time format which appears to have been selected on installation by mistake.

Is there anyway to change this format without having to re-installed SQL Server 2005.

Please advise

Regards

TMOTech
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24384018
Please find below the steps to set Language and Date format in SQL Server:

http://support.microsoft.com/default.aspx?scid=kb;en-us;173907

No need for reinstallation.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:TMOTech
ID: 24384072
Hi,

I came across that article, but unfortunately it only seems to apply to Sql Server 6.5.  2005 doesn't appear to have the command sp_addlanguage.

Is there any equivalent for SQLServer 2005?
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24384139
0
 

Author Comment

by:TMOTech
ID: 24384245
Hi,

I've already tried that, but unfortunately changing the default language on logins, or the server itself doesn't change the language of the server (see Server properties --> general --> language) and hence the date format!
0
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 24384348
Have a look at the following discussion
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=62891
0
 

Author Comment

by:TMOTech
ID: 24384413
Hi,

Thanks for that.  I had come across that one but I was trying to avoid hacking the registry!!!  If I do a re-install can I solve the problem that way?  Some of the forums I've read suggest even then the dateformat will be fixed to US.
0
 

Author Comment

by:TMOTech
ID: 24384656
I went with the registry hack in the end.  It's solved the date format issue and hasn't caused any side affects - yet!
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24384669
I wouldn't use the word "hack"..Fix or edit is more appropriate ! :>
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24384694
Have you checked out my comment 24384018.
No registry hackings..

Steps from Microsoft to set the DD/MM/YY format.

http://support.microsoft.com/default.aspx?scid=kb;en-us;173907

Check that one out.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

856 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