February 2013
Beginner
432 pages
10h 19m
English
After completing this chapter, you will be able to
Return and manipulate date and time values using date and time functions.
Convert data with the CAST and CONVERT functions.
Manipulate string values.
Add logic to T-SQL statements using built-in functions.
Microsoft SQL Server boasts a plethora of built-in scalar functions whose purposes and results vary depending on type and use. Within SQL Server, scalar functions are grouped into 12 categories. Of those, we will discuss four categories in this chapter: date and time, conversion, string, and logical. Several new scalar functions have been added to SQL Server 2012.
If you would like to explore all the available built-in scalar functions, refer to the “Built-in ...
Read now
Unlock full access