I have multi-select drop down list where in user can select multiple options, now how can I pass this multi-select options to select query.
Code
select number from table(get_number(('('1','2','3','4','5')','7','8')));
where 1, 2, 3, 4 and 5 are the multi-select options selected from multiselect dropdown box. Now in get_number function I am passing count_number, role_number and test_id. Count_number represents the multi-select options which user select. So my question is how can I consume multi-select values which user entered in my get_number function, not sure if possible but do I need to define count_number as array in get_number function ?
it is not clear what you’re trying to achieve. Below is an example of a function that uses arrays as parameter and output.