How to create a stored procedure using simple selection (SELECT * FROM TABLE) using Oracle? Also, any helpful stored procedure guides would help a lot.
Thank.
It depends on what you are trying to return from the stored procedure (resultet vs scalar value) and which version of Oracle you are using (newer versions make this easier).
This question is probably a trick. Get the result set from the oracle stored procedure .
create or replace procedure spr_select_Emp(eno in number, employee out emp%RowType) As Begin Select empno,ename,mgrno,hiredate,sal,comm,deptno into employee from emp where empno=eno End;
Oracle :
() ( )
;
more details here: http://www.dba-oracle.com/t_create_or_replace_procedure.htm
Source: https://habr.com/ru/post/1776556/More articles:How to wake up a stream after receiving 2 packets - c ++Change asp based image source: Choosing DropDownList - javascriptWhat are the default default WPF ListView shortcut keys - listviewWhy keep a stored procedure forever, but the code in the procedure runs quickly on it? - oraclehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1776555/openinputdesktop-to-determine-securelogin-desktop&usg=ALkJrhj_q3K9993TCpTwAF5MhuLRKO8WHwI need Eclipse to deploy a WAR file, my ANT script builds, and not what it builds from the inside - eclipsehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1776558/converting-javascript-generated-documentspages-to-pdf&usg=ALkJrhi3CFQR7ezJ9xcylH7VYU7HNv0xPgEntity Framework - dependent objects not deleted to the main object when a cascade deleting compound key objects - entity-frameworkошибка при импорте файла реализации .m - objective-cPDF/A-1a: OutputIntents для черно-белых изображений - pdfAll Articles