Link to home
Start Free TrialLog in
Avatar of TMOTech
TMOTech

asked on

SQL 2005 Time Format needs to be UK

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
Avatar of RiteshShah
RiteshShah
Flag of India image

Avatar of TMOTech
TMOTech

ASKER

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
Avatar of Raja Jegan R
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.
Avatar of TMOTech

ASKER

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?
Avatar of TMOTech

ASKER

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!
ASKER CERTIFIED SOLUTION
Avatar of tbsgadi
tbsgadi
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TMOTech

ASKER

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.
Avatar of TMOTech

ASKER

I went with the registry hack in the end.  It's solved the date format issue and hasn't caused any side affects - yet!
I wouldn't use the word "hack"..Fix or edit is more appropriate ! :>
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.