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, 1422🔥, 0💬
Popular Posts:
How To End a Stored Procedure Properly in SQL Server Transact-SQL? Where the end of the "CREATE PROC...
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...
How To Set Up SQL*Plus Output Format in Oracle? If you want to practice SQL statements with SQL*Plus...
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...