Collections:
Variable Number of Arguments
What Are Variable Number of Arguments?
✍: FYIcenter.com
Variable Number of Arguments is a list of arguments with variable length. It is used to pass a list of multiple values. For example:
SELECT CHAR(70, 89, 73), CHAR(70, 89, 73, 99, 101, 110, 116, 101, 114); -- +------------------+-----------------------------------------------+ -- | CHAR(70, 89, 73) | CHAR(70, 89, 73, 99, 101, 110, 116, 101, 114) | -- +------------------+-----------------------------------------------+ -- | FYI | FYIcenter | -- +------------------+-----------------------------------------------+ SELECT GREATEST(70, 89, 73, 99, 101, 110, 116, 101, 114); -- +---------------------------------------------------+ -- | GREATEST(70, 89, 73, 99, 101, 110, 116, 101, 114) | -- +---------------------------------------------------+ -- | 116 | -- +---------------------------------------------------+
⇒ Argument Type Auto-Conversion
2023-11-15, 240🔥, 0💬
Popular Posts:
What Is ISAM in MySQL? ISAM (Indexed Sequential Access Method) was developed by IBM to store and ret...
How To Calculate Age in Days, Hours and Minutes in SQL Server Transact-SQL? On many Web sites, news ...
Where to find answers to frequently asked questions on INSERT, UPDATE and DELETE Statements in MySQL...
What Are Out-of-Range Errors with DATETIME values in SQL Server Transact-SQL? When you enter DATETIM...
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...