22 January, 2014
0 Comments
1 category
If you want to convert a date to a string in the format "dd-mm-yyyy" in T-SQL, you can use the following code:
declare @Now date = '2014-01-22' select convert(varchar(10), @Now, 105)
Result
Tags: T-SQL
Category: Uncategorized