![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Ok, I have created my own datatype called num_tab as a table of numbers. And now I am creating a function where I go through in a loop and insert differnet numbers into this table of numbers through a variable called v_numtab. At the end of my function I have to sum up all the numbers in this table/variable. That is what I don't know how to do. Normally it is easy to do because I know the column name, but with this datatype created I dont know the column name. Does anybody know how to sum everything up from it. I was thinking select sum(v_numtab) from dual; But that didn't work. Any ideas would be appreciated. Thanks. Please email me with ideas. Please send to both email addresses. Thank again. Jeff Chirco jchirco (AT) adelphia (DOT) net jchirco (AT) innout (DOT) com |
![]() |
| Thread Tools | |
| Display Modes | |
| |