Programming Thoughts and Pitfalls

Search

Richard Howells' Blog

Jul 11

Written by: RichardHowells
11 July 2009 

I've been working with a group who inherited some bad code when the software house supplying them went bust.  When the application added or updated data in SQL Server sometimes date values were accepted in US format and sometimes in UK format.  On the Test server it was one way and on the Live it was the other.

It's never good when live and test have different configurations but applications often need to work properly regardless of details like date format configurations.  The solution is to use parameters properly.  I wrote about it here. http://www.dynamisys.co.uk/ForumsBlogs/Forums/tabid/299/forumid/16/scope/threads/Default.aspx

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel