Saturday, June 1, 2013

Datetime Conversion error

>where ServiceDate2 >= convert ( datetime , '2013-01-10 00:00:00' )


It is sufficient to program:


where ServiceDate2 >= '2013-01-10'




Kalman Toth Database & OLAP Architect sqlusa.com

New Book / Kindle: Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012


No comments:

Post a Comment