Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Converting a column of type nvarchar to datetime

$
0
0
Hi, I am trying to convert a column (nvarchar) to date time. Here is an example of some values:201109052011090120111003As expected, I received the following error: 'Conversion failed when converting date and/or time from character string.'However, I am unsure how I should approach updating the whole column. I would like the format to be '103'.Cheers,Chris

Viewing all articles
Browse latest Browse all 3145

Trending Articles