when to create function on database or as a program unit
                     Hello Experts,
   
                 
                i have developed a lot of functions and procedures embedded in the report builder tool or the form builder
sometimes during developing 
i ask myself why i am supposed to create the function or the procedure only in the report ,form builder (this is 1 use only , it means that no other program can access it )
or when i have to create it on the database 
i really want to know what is the perfect one from 
    the perspective of the performance  and which one is faster ?
 share your recommendations , guys
Thanks
0