some time there is need to convert a variable to specific data type
in Microsoft SQL server 2008 R2
Cast : select CAST(2000 as varchar); you indicate the target type
Covert, beside the type you can choose the style of the conversion
select convert (DATE,’11/17/2014′,101); (date is data type, 101 is the date american style )