Some of our developers use functions as you would stored procedures, i.e., for database updates/inserts/deletes, the creation of temporary tables, and just plain returning the value of a computation. My question is whether ASA is more efficient at performing DML in a procedure than a function, and if using these two interchangeably is a bad idea. Granted, if OUT variables or a result set is required then a procedure is the only choice. I prefer to keep them separated in their functionality.
↧