Part 28 Cast and Convert functions in SQL Server…
Important concepts related to functions in sql server…
Part 29 Mathematical functions in sql server…
Scalar user defined functions in sql server Inline table valued functions in sql server Multi statement table valued functions in sql server…
DateTime functions in SQL Server IsDate, Day, Month, Year and DateName DateTime functions in SQL Server DatePart, DateAdd and DateDiff functions in SQL Server…
Built in string functions in sql server 2008 LEFT, RIGHT, CHARINDEX and SUBSTRING functions in sql server Replicate, Space, Patindex, Replace and Stuff string functions in sql server 2008…
1.日期和时间数据类型 (1)在sqlserver 2008之前,SQL Server 支持datetime 和 smalldatetime 两种日期时间数据类型.这两种数据类型日期和时间是不可分割的.差异在日期范围.精度方面 (2)sql server 2008引入date 和 time .datetime2.datetimeoffset数据类型.其中datetime2比date范围更大,精度更高.datetimeoffset 有一个时间偏移量组件 (3)datetime 精确到毫秒,time…
JSON functions in SQL Server enable you to analyze and query JSON data, transform JSON to relational format, and export SQL query results as JSON text. If you have JSON text, you can extract data from JSON or verify that JSON is properly formatted us…
https://sqlserver.dev129.com/2018/01/29/string-interpolation-in-t-sql/ Most programming languages have the ability to interpolate formatted strings. For example, in C# String input = String.Format("oh hi {0}", "mike"); This is also pos…
用户定义函数(UDF)分类  SQL SERVER中的用户定义函数(User Defined Functions 简称UDF)分为标量函数(Scalar-Valued Function)和表值函数(Table-Valued Function).其中表值函数又分为Inline table-valued functions和Multistatement table-valued functions. 用户定义函数(UDF)在 SQL Server 中发挥重要的作用.用户定义函数可以用于执行复杂的逻辑…