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

TRY_CONVERT not recognized

$
0
0
Is there something I'm missing here?[code]select @@versionMicrosoft SQL Server 2014 - 12.0.4213.0 (X64) ...[/code] [code]SELECT TRY_CONVERT(datetime2, '12/31/2010') AS Result; Msg 195, Level 15, State 10, Line 64'TRY_CONVERT' is not a recognized built-in function name.[/code]The same function works in my 2012 instance, but not my 2014.--=Chuck

Viewing all articles
Browse latest Browse all 3145

Trending Articles