Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Function vs. Stored Procedure

$
0
0

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.


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>