Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Date formatt

Author  Topic 

BuddyRam
Starting Member

17 Posts

Posted - 2007-05-18 : 00:59:21
Hello,

When I am inserting date into my sqlserver data base table the date stored like yyyy-mm-dd.But I need to change this formatt to UK formatt like dd-mm-yyyy for my entire data base where ever date is inserting....how can I achive this?

Thanks for your help.

Cheers
Ram

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-05-18 : 01:01:22
Don't worry about how dates are stored. Format is only relevant when the data needs to be displayed and that part is better handled from the front-end.

As regards to inserting date, try to insert using ISO format - yyyymmdd.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page
   

- Advertisement -