One field in a where clause should be prepared by a user defined function, pure native SQL, no REXX, C etc. function.
The number of parameters for the function is variable.
The DB2 zOS syntax says, this it not possible; my understanding.
Creating a type CREATE TYPE myType BIGINT ARRAY [] is possible, but not accepted for a user defined function as parameter.
How is it possible to pass a variable number of parameters to a userdefined function?
Or: Stored procedures seems to accept array parameters. But how to call the procedure inside a native SQL query? How to setup the array just inside a SQL query?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum