SQL – SQL Server RAND() Function
The SQL Server RAND() function returns a random number between 0 (inclusive) and 1 (exclusive).
The SQL Server RAND() function returns a random number between 0 (inclusive) and 1 (exclusive).
The SQL Server REPLACE() function replaces all occurrences of a substring (case-insensitive) within a string, with a new substring.
The SQL Server REPLICATE() function repeats a specified string a specified number of times.
The SQL Server REVERSE() function reverses a specified string and returns the result.
The SQL Server RIGHT() function extracts a number of characters (starting from right) from a string.
The SQL Server ROUND() function rounds a number to a specified number of decimal places.
The SQL Server RTRIM() function removes trailing spaces from a string. Trailing spaces are spaces after (right of) the string.
The SQL Server SESSION_USER function returns the name of the current user in the SQL Server database.
The SQL Server SESSIONPROPERTY() function returns the session settings for a specified option.
The SQL Server SOUNDEX() function returns a four-character code to evaluate the similarity of two expressions.
The SQL Server SPACE() function returns a string of the specified number of space characters.
The SQL Server SQRT() function returns the square root of a positive number.
The SQL Server SQUARE() function returns the square of a number (the number times itself).
The SQL Server STUFF() function deletes a part of a string, starting at a specified position, and then inserts a new part into the string at that position.
The SQL Server SUBSTRING() function extracts a specified number of characters from a specified position in a string.
The SQL Server SUM() function calculates the sum of a set of values. NULL values are ignored.
The SQL Server SYSDATETIME() function returns the date and time of the computer where the SQL Server is running.