My datetime that is stored in my DB, look like this:
2012-18-08 09:00:00
I want to get it in this format
dd.MM.yyyy - hh:mm
// expected output:
// 18.08.2012 - 09:00
How can I achieve that? Something like following
SELECT CONVERT(VARCHAR(10),Date,104) ??
I use MsSql 2008.