SQL Custom Parameter

I prefer my method, it's easy to read into a database and extract out of a database. Any human and/or PC can understand
 
No no no! Not yyyy/MM/dd, but yyyyMMdd (without the "/"). All our date formats were in yyyy/MM/dd and we had loads of trouble. Since removing the "/"-es and just formatting it as yyyyMMdd we haven't had any problems... YET.

EDIT: Here's an interesting article about it:

http://www.sql-server-performance.com/articles/dev/datetime_datatype_p1.aspx
I have used the '/' with zero issues in the past. I checked the BOL and some sources.. but I see they the ISO standard is withouth '/'.

But many ways to skin a cat :)
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X