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, 1679🔥, 0💬
Popular Posts:
How to change the data type of an existing column with "ALTER TABLE" statements in SQL Server? Somet...
How To Provide Default Values to Function Parameters in SQL Server Transact-SQL? If you add a parame...
How To Create a Table Index in Oracle? If you have a table with a lots of rows, and you know that on...
How To Assign Debug Privileges to a User in Oracle? In order to run SQL Developer in debug mode, the...
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...