Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


a procedure one in two out parameters i am waiting it in a
sql query can i get the output



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

Post New Answer

More SQL PLSQL Interview Questions

Can I create table without primary key?

0 Answers  


How to perform a loop through all tables in pl/sql?

4 Answers   Evosys, MBT,


What is sql*loader and what is it used for?

0 Answers  


What are the different tcl commands in sql?

0 Answers  


Can we perform dml in function?

0 Answers  


What is the example of procedure?

0 Answers  


What is delimiter in pl sql?

0 Answers  


Explain the working of foreign key?

0 Answers  


How can I change database name in sql?

0 Answers  


what is an alias command? : Sql dba

0 Answers  


Can we use more than one null value for unique key?

31 Answers   A1 Technology, Wipro,


i need department wise top 2 employees salary.which logic i will use

17 Answers  


Categories