SQL – MySQL RPAD() Function
The MySQL RPAD() function right-pads a string with another string, to achieve a specified length.
The MySQL RPAD() function right-pads a string with another string, to achieve a specified length.
The MySQL SECOND() function returns the seconds part of a time/datetime (from 0 to 59).
The MySQL SEC_TO_TIME() function returns a time value (in format HH:MM:SS) based on the specified seconds (positive or negative).
The MySQL SESSION_USER() function returns the current user name and host name for the MySQL connection.
The MySQL SPACE() function returns a string of the specified number of space characters.
The MySQL SQRT() function returns the square root of a number greater than zero.
The MySQL STR_TO_DATE() function returns a date based on a string and a format.
The MySQL SUBDATE() function subtracts a time/date interval from a date and then returns the new date.
The MySQL SUBSTR() function extracts a substring from a string, starting from any position.
The MySQL SUBSTRING() function extracts a substring from a string, starting from any position.
The MySQL SUBSTRING_INDEX() function returns a substring of a string before a specified number of delimiter occurs.
The MySQL SUBTIME() function subtracts time from a time/datetime expression and then returns the new time/datetime.
The MySQL SYSDATE() function returns the current date and time as “YYYY-MM-DD HH:MM:SS” (string) or as YYYYMMDDHHMMSS (numeric).
The MySQL SYSTEM_USER() function returns the current user name and host name for the MySQL connection.