Is there a way to pass more than 1 Parameter in SQL Query?
SQL Query with 1 Parameter.
Select
cusode as ACCOUNT,
cusfulname as NAME,
cushomephone as PHONE,
numcals as CALLCOUNT,
firstcalltime as FIRSTCALL,
durationhm as DURATION,
address as ADDRESS,
city as CITY
from table(os_un_etcist('4815044'))
How can I pass more than 1 parameter.
e.g ‘4815044’ and ‘415175’
You need to modify that function to allow for an array of ids, not just 1. You can modify the existing, or create a new function that simply calls the original for each id and pipelines the data out.
To get the source of the function, you can do:
Or (Much better Option): Download SQL Developer from Oracle (its free), and open the Functions folder for your connection. Trust me, you’ll want either this (or maybe Toad) moving forward.