I am an Oracle novice. When I googled, I am getting some confusions.
What is the main difference between procedure vs Stored procedure in Oracle PL/SQL?
You may write pl/sql program running from client machine stored it's source in a file with run command from SQL*Plus. This program may contain blocks, functions and procedures, some of the procedures can be hold in other files (for sake of interchangeability and modularity). But your procedures and/or functions can be hold not only in files, but they can be also stored in the database itself. These are stored procedures/functions. Stored function can be called similar way as you call the function build (written) in your plsql program: declare function something(...) is end; begin ... a:=something( ); end; but if you write stored function (or procedure), you will be able to call it from any program (in case of granted access to them). You may use it even in interactive queries sometimes: select something( ) from dual.
Sign up for STechies
Ask Question From Our Experts
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.