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 what is a subquery ?
Is sql a programming?
What is the difference between clustered and non-clustered indexes?
What are character functions?
What is procedure explain with example?
What is difference between pls_integer and integer?
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
What are the syntax and use of the coalesce function?
How to test for null values?
How do you rename a table in sql?
Can you have more than one key in a database?
what is sql in mysql? : Sql dba
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)