SQL – MySQL WEEK() Function
The MySQL WEEK() function returns the week number for a given date (a number from 0 to 53).
The MySQL WEEK() function returns the week number for a given date (a number from 0 to 53).
The MySQL WEEKDAY() function returns the weekday number for a given date.
The MySQL WEEKOFYEAR() function returns the week number for a given date (a number from 1 to 53).
The MySQL YEAR() function returns the year part for a given date (a number from 1000 to 9999).
The MySQL YEARWEEK() function returns the year and week number (a number from 0 to 53) for a given date.
The SQL Server ABS() function returns the absolute value of a number.
The SQL Server ACOS() function returns the arc cosine of a specified number between -1 and 1.
The SQL Server ASCII() function returns the ASCII value for the specified character.
The SQL Server ASIN() function returns the arc sine of a specified number between -1 and 1.
The SQL Server ATAN() function returns the arc tangent of a number.
The SQL Server ATN2() function returns the arc tangent of two numbers.
The SQL Server AVG() function returns the average value of an expression (NULL values are ignored).
The SQL Server CAST() function converts a value of any type into a specified datatype.
The SQL Server CEILING() function returns the smallest integer value that is larger than or equal to a number.
The SQL Server CHAR() function returns the character based on the ASCII code specified.
The SQL Server CHARINDEX() function searches for a substring in a string, and returns the position. If the substring is not found, this function returns 0.
The SQL Server COALESCE() function returns the first non-null value in a list.
The SQL Server CONCAT() function adds two or more strings together.
The SQL Server + operator allows you to add two or more strings together.
The SQL Server CONVERT() function converts a value of any type into a specified datatype.