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, 1672🔥, 0💬
Popular Posts:
How To List All User Names in a Database in SQL Server? If you want to see a list of all user names ...
Where to find answers to frequently asked questions on Transaction Management: Commit or Rollback in...
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
Why I Can Not Enter 0.001 Second in DATETIME values in SQL Server Transact-SQL? If you enter millise...
Where to find answers to frequently asked questions on Managing Security, Login and User in SQL Serv...