SQL – SQL Server CONCAT_WS() Function
The SQL Server CONCAT_WS() function adds two or more strings together with a separator.
The SQL Server CONCAT_WS() function adds two or more strings together with a separator.
The SQL Server COUNT() function returns the number of records returned by a select query. NULL values are not counted.
The SQL Server CURRENT_TIMESTAMP() function returns the current date and time as “YYYY-MM-DD HH-MM-SS”.
The SQL Server CURRENT_USER function returns the name of the current user in the SQL Server database.
The SQL Server DATALENGTH() function returns the number of bytes used to represent an expression.
The SQL Server DATEADD() function adds a time/date interval to a date and then returns the date.
The SQL Server DATEDIFF() function returns the difference between two dates.
The SQL Server DATEFROMPARTS() function returns a date from the specified parts (year, month, and day values).
The SQL Server DATENAME() function returns a specified part of a date as a string value.
The SQL Server DATEPART() function returns a specified part of a date as an integer value.
The SQL Server DAY() function returns the day of the month (from 1 to 31) for a specified date.
The SQL Server DEGREES() function converts a value in radians to degrees.
The SQL Server DIFFERENCE() function compares two SOUNDEX values, and returns an integer.
The SQL Server EXP() function returns the natural logarithm e (2.718281…) raised to the power of the specified number.
The SQL Server FLOOR() function returns the largest integer value that is smaller than or equal to a number.
The SQL Server FORMAT() function formats a value with the specified format (and an optional culture in SQL Server 2017).
The SQL Server GETDATE() function returns the current database system date and time, in a “YYYY-MM-DD hh:mm:ss.mmm” format.
The SQL Server GETUTCDATE() function returns the current database system UTC date and time, in a “YYYY-MM-DD hh:mm:ss.mmm” format.