TSQL - FORMAT

Part of my new SQL 2012 TSQL features series is a look at the new FORMAT function. 
This function can be used to format date/time and number values as strings.
Almost all SQL developers will come across wanting to use SQL to format their dates in a specific way or make numbers more presentable.
It has a very simple syntax and does pretty much exactly what you'd hope. 



See the documents online for more usage examples.

Comments

Popular posts from this blog

Windows 7 - Cisco VPN Client

Enabling SNMP on an ASUS RT-N66U

Making Microsoft Dataverse OData queries using Postman