SQL: The T-SQL SIGN function and what's in a return type?
When you’ve worked with a product like SQL Server for a long time, and more importantly, are one of the odd people who’ve read a great amount of the documentation simply for interest, it feels really strange to come across a basic function that you’d never noticed before. That’s how I felt when someone mentioned the T-SQL SIGN function.
I thought, “the what function??”.
Now it works pretty much as you’d expect. It returns:
2018-08-13
