SQL cast datatime

Posted by BahaiResearch.com on Stack Overflow See other posts from Stack Overflow or by BahaiResearch.com
Published on 2010-03-25T17:54:57Z Indexed on 2010/03/25 18:03 UTC
Read the original article Hit count: 331

Filed under:
|

In SQL Server 2005, why does:

PRINT Cast('' AS datetime)

display:

Jan 1 1900 12:00AM

I would have thought it should be null?

© Stack Overflow or respective owner

Related posts about sql

Related posts about cast