Search
 
SCRIPT & CODE EXAMPLE
 

SQL

Oracle Function call - 12C

create or replace procedure foo(empId IN NUMBER, maxSalary OUT NUMBER) AS
q SYS_REFCURSOR;
 BEGIN
    OPEN q FOR select * from Employee e where e.id >=empId;
     DBMS_SQL.return_result (q); -- This will display the result
    select max(salary) into maxSalary from Employee;
END;
Comment

PREVIOUS NEXT
Code Example
Sql :: sql developer format sql 
Sql :: create dabase psql 
Sql :: which lock mode is not available in sql 
Sql :: employee sample data mysql 
Sql :: tsql remove duplicate rows 
Sql :: join 
Sql :: sql select students closest in score 
Sql :: power bi dax add related shows column but not working 
Sql :: MQL4 mql4 run ea on all symbols by adding to just one chart 
Sql :: firebase sql 
Sql :: power bi connect to postgresql 
Sql :: flashback in bigquery 
Sql :: oracle string substitution 
Sql :: SOQL Child to parent 
Sql :: online convert linq to sql query 
Sql :: mysql utc to toronto time 
Sql :: mysql select 
Sql :: connect to remote mysql server 
Sql :: create table database in psql 
Sql :: mysql view command 
Sql :: reseed sql identity 
Sql :: pl sql call web service 
Sql :: mysql install windows 10 
Csharp :: get appdata file path c# 
Csharp :: net core get remote ip 
Csharp :: how to edit postprocessing through script 
Csharp :: unity get mouse position 
Csharp :: movement script c# 
Csharp :: Retrieve url path 
Csharp :: c# for loop backwards 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =