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 |
Write a query to find the names of users that begin with "um" in sql?
How to access the current value and next value from a sequence?
How would you reference column values before and after you have inserted and deleted triggers?
What is cursor in pl sql with examples?
What is mutating sql table?
What is #table in sql?
what are the nonstandard string types? : Sql dba
Does a primary key have to be a number?
What does select count (*) mean in sql?
What is a full join sql?
What is schema in sql example?
i don't want the message as 14 rows updated just it should update what it will do
Oracle (3253)
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)