How to Pass in a Dynamic Number of Arguments to a MySQL Stored Procedure or Function, and How to Parse a Comma Delimited List of Values (Doc ID 1474234.1)

Last updated on APRIL 27, 2017

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.

Goal

How can we use either a variable number of arguments, or, default values for MySQL stored procedure parameters?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms