dbTalk Databases Forums  

Finding Locale

comp.database.ms-sqlserver comp.database.ms-sqlserver


Discuss Finding Locale in the comp.database.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul Johnston
 
Posts: n/a

Default Finding Locale - 05-06-2005 , 03:15 AM






I have as SQL Server 2000 running on a Windows 2003 box
I use a c# windows application accessing the database running from an
XP machine also with UK locale settings.
The windows server is set to have British Locale settings but my
field of type datetime is accepting the US format i.e. mm-dd-yyyy
Thus entering a date of 14/12/2005 generates a
System.Data.SqlException
Can I set my SQL Server such that datetime objects use dd-mm-yyyy
rather than mm-dd-yyyy
TIA
I'm new to database stuff so sorry if this is a dumb question :-)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.