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...

Show how functions and procedures are called in a pl/sql block.

Answer Posted / Rajesh Tejan

Functions can be called using the function name followed by parentheses, while passing any required arguments. Procedures are called using the PROCEDURE name, followed by parentheses containing any required arguments enclosed within IS keyword (if any). For example:ntFUNCTION MyFunction(p1 NUMBER) RETURN VARCHAR2 IS ... END; ntPROCEDURE MyProcedure(p1 IN NUMBER) IS ... END; nntBEGINnttMyFunction(1);nttMyProcedure(1);ntEND;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of postgresql?

1164


what are the advantages of sql ? : Sql dba

1136


what is collation? : Sql dba

1224


Can we use distinct and group by together?

1130


What is your daily office routine?

2340


Is primary key always clustered index?

1090


What is the best sql course?

1043


Is inner join faster than left join?

1273


what is sql server agent? : Sql dba

1175


Can we rollback truncate?

1072


define sql insert statement ? : Sql dba

1094


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2088


Does group by remove duplicates?

1109


Is primary key clustered index?

1014


how many tables will create when we create table, what are they? : Sql dba

1140