In MySQL, the TO_BASE64() function converts a string to a base-64 encoded string and returns the result.
DBMS
Database Management Systems
How the EXPORT_SET() Function Works in MySQL
The MySQL EXPORT_SET() function returns a string that represents the bits in a number.
You have the ability to customise how the function outputs the string. The function accepts a number of arguments that allows you to do this. When you call the function, you provide the number in question, as well as arguments that determine how the results are displayed.
SQL Server Mathematical Functions (Full List)
Transact-SQL contains a number of mathematical functions that you can use with SQL Server.
The following scalar functions can be used in SQL Server 2012 and above. Most of these functions accept one or more arguments, and will return a numeric value based on the argument/s supplied.
TAN() Examples in SQL Server
In SQL Server, the TAN() function returns the tangent of the input expression.
You provide the value as an argument when calling the function.
SQUARE() Examples in SQL Server
Using SQL Server, you can use the T-SQL SQUARE() function to return the square of a specified float value. The square of a number is the result of multiplying the number by itself.
You provide the number as an argument when calling the function.
The return data type is float.
SQRT() Examples in SQL Server
Using SQL Server, you can use the T-SQL SQRT() function to return the square root of a specified float value.
You provide the number as an argument when calling the function.
The return data type is float.
SIN() Examples in SQL Server
Using SQL Server, you can use the T-SQL SIN() function to return the sine of a number. More specifically, this function returns the trigonometric sine of the specified angle, in radians, and in an approximate numeric, float, expression.
The return data type is float.
You provide the number as an argument when calling the function.