SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 datetime error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pramod21
Yak Posting Veteran

64 Posts

Posted - 07/28/2014 :  08:07:26  Show Profile  Reply with Quote
HI,

kindly help me out with this error : "The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. "


Thanks

James K
Flowing Fount of Yak Knowledge

3657 Posts

Posted - 07/28/2014 :  08:26:43  Show Profile  Reply with Quote
quote:
Originally posted by pramod21

HI,

kindly help me out with this error : "The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. "


Thanks

Means that in your query somewhere you are trying to convert a varchar (i.e. string) to DATETIME data type, but SQL Server was unable to do so. This can happen if the string that cannot be converted to datetime, or if the string is in an unexpected format.

Post your query and some sample data if you need more help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000