Is it possible to pass an array in a functin call? also is there loops in functions?
I would like to do something like this...
eg.
create function sumPrice ([array of id ints]) return int4 AS ' --loop the size of the array and sum the Price of each id, then return the sum 'LANGUAGE' sql';
any examples would be helpful
thanks
" ahhh computers, how they made our lives much simpler "
I would like to do something like this...
eg.
create function sumPrice ([array of id ints]) return int4 AS ' --loop the size of the array and sum the Price of each id, then return the sum 'LANGUAGE' sql';
any examples would be helpful
thanks
" ahhh computers, how they made our lives much simpler "