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, 1486🔥, 0💬
Popular Posts:
How To Escape Special Characters in SQL statements in MySQL? There are a number of special character...
How AdventureWorksLT tables are related in SQL Server? There are 12 user tables defined in Adventure...
How to calculate the storage size of a JSON (JavaScript Object Notation) value using the JSON_STORAG...
Collections: Interview Questions MySQL Tutorials MySQL Functions Oracle Tutorials SQL Server Tutoria...
How To Verify Your PHP Installation in MySQL? PHP provides two execution interfaces: Command Line In...