﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / T-SQL (SS2K8)  / Sql Server 2008: Conversion From Text data type to Datetime / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 10:03:25 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Sql Server 2008: Conversion From Text data type to Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic1395028-392-1.aspx</link><description>[quote][b]Teee (12/11/2012)[/b][hr]Thanks for the link and the example posted above works perfectly. :-)[/quote]Happy to help</description><pubDate>Tue, 11 Dec 2012 04:41:06 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: Sql Server 2008: Conversion From Text data type to Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic1395028-392-1.aspx</link><description>Thanks for the link and the example posted above works perfectly. :-)</description><pubDate>Tue, 11 Dec 2012 04:39:46 GMT</pubDate><dc:creator>Teee</dc:creator></item><item><title>RE: Sql Server 2008: Conversion From Text data type to Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic1395028-392-1.aspx</link><description>[quote][b]nigelrivett (12/11/2012)[/b][hr]Are you sure that is causing the problem?This should workselect convert(datetime, 'Jul 21 2010 10:15AM')Could be due to your settings maybe.[/quote]The question and topic title say they are converting from TEXT to DATETIME, you cannot convert TEXT directly to DATETIME, you have to do an implicit conversion to VARCHAR then to DATETIME</description><pubDate>Tue, 11 Dec 2012 04:31:32 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: Sql Server 2008: Conversion From Text data type to Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic1395028-392-1.aspx</link><description>Are you sure that is causing the problem?This should workselect convert(datetime, 'Jul 21 2010 10:15AM')Could be due to your settings maybe.</description><pubDate>Tue, 11 Dec 2012 04:29:37 GMT</pubDate><dc:creator>nigelrivett</dc:creator></item><item><title>RE: Sql Server 2008: Conversion From Text data type to Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic1395028-392-1.aspx</link><description>Convert to VARCHAR then convert to datetime.CONVERT(DATETIME,CONVERT(VARCHAR,vchValue))The following link details what can and cannot be converted[url]http://msdn.microsoft.com/en-us/library/ms187928.aspx[/url]</description><pubDate>Tue, 11 Dec 2012 04:28:38 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>Sql Server 2008: Conversion From Text data type to Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic1395028-392-1.aspx</link><description>Hi All, How do I convert a text data type column to datetime?The query below returns this error: Explicit conversion from data type text to datetime is not allowed.SELECT CONVERT(DATETIME, vchValue) FROM dtlConfiguration WHERE vchParameter = 'LastRTADImport'The data in 'vchValue' column is in this format: 'Jul 21 2010 10:15AM'RegardsTeee</description><pubDate>Tue, 11 Dec 2012 04:25:26 GMT</pubDate><dc:creator>Teee</dc:creator></item></channel></rss>