T-SQL supports two built-in methods for converting date/time data to character data and vice versa. SQL Server expert Robert Sheldon takes you through a step-by-step process for using each method -- implicit and explicit conversions. The steps include using the handy CAST and CONVERT functions for converting date/time values.
Source Click Here.
Post a Comment