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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum rows in csv?

857


What is secondary key?

881


Is natural join same as inner join?

870


What is query optimization in sql?

937


What are conditional predicates?

987


What is pl sql code?

992


Can you do multiple joins in sql?

971


How do you sort in sql?

951


Is mariadb nosql?

990


Who developed sql?

960


What is the use of double ampersand (&&) in sql queries? Give an example

1079


Why truncate is used in sql?

936


What are two statement types in sql?

1031


Is pl sql a programming language?

925


Can we use join in subquery?

1022