Showing posts with label DIFFERENCE BETWEEN TRY_CONVERT AND CONVERT. Show all posts
Showing posts with label DIFFERENCE BETWEEN TRY_CONVERT AND CONVERT. Show all posts

CONVERT VS TRY_CONVERT IN SQL 2012

TRY_CONVERT - It help us to convert to specific data type, it is most similar to CONVERT(). The only difference and advantage is it will return NULL when its fail to convert into given data type. 

Eq.