a procedure one in two out parameters i am waiting it in a
sql query can i get the output
Answer / aurobinda
yes ,we can
create or replace procedure (v_empno in emp.empno%
type,v_ename out emp.ename%type,v_sal out emp.sal%type)
is
begin
select ename,sal into v_ename,v_sal from emp
where empno =v_empno);
dbms_output.put_line(v_ename||' '||v_sal);
end;
| Is This Answer Correct ? | 4 Yes | 3 No |
Explain uses of cursor.
what is acid property in database? : Sql dba
What is materialized view. What are different methods of refresh?
Explain ttitle and btitle.
How do I add a primary key to a table?
What is clustered index sql?
Can we have exception part in trigger ?
What are Nested Tables? How will u delete 5 rows from Nested Tables
What is insert command in sql?
What is difference between Procedures and Functions ?
what is the difference between where clause and having clause? : Sql dba
Define select, insert, create, delete, update, drop keywords
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)