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


diff b/w function and procedure?

Answers were Sorted based on User's Feedback



diff b/w function and procedure?..

Answer / rupesh

function must return value whereas procedure may or maynot
return value
Call to Function can be encounter by using select
statement where as procedure can not be call in select
statement

Is This Answer Correct ?    15 Yes 1 No

diff b/w function and procedure?..

Answer / muhammad sohail

function can be use in select clause and where clause
procedure can't

Is This Answer Correct ?    7 Yes 0 No

diff b/w function and procedure?..

Answer / vipin kumar (m.c.a)

For calling both have the different method--
To call function

variablename:=functionname(arguments);

To call procedure

procedurename(argumentlist);

Is This Answer Correct ?    6 Yes 0 No

diff b/w function and procedure?..

Answer / tilak

1)we can write COMMIT in procedure but we cant write in function

2) function must me return a value but procedure may or may
not be

Is This Answer Correct ?    8 Yes 3 No

diff b/w function and procedure?..

Answer / vishal

procedure have two type of parameter intput and output type
but function have only one

Is This Answer Correct ?    9 Yes 6 No

diff b/w function and procedure?..

Answer / sankaranarayanan.c

Procedure return more than one value, but fuction can
return only on value.

Is This Answer Correct ?    6 Yes 5 No

diff b/w function and procedure?..

Answer / gourvendra singh

A procedure a subprogram used to perform a specific action
whereas a function is a subprogram which is used to compute
a value,in procedure we can use parameters(IN,OUT,IN OUT)
but in function we cant

Is This Answer Correct ?    4 Yes 4 No

diff b/w function and procedure?..

Answer / sanjai yadav

function must have return type but a procedure may or may not have return type?

function:- int a= sum();

procdure:- sum();

Is This Answer Correct ?    0 Yes 0 No

diff b/w function and procedure?..

Answer / malkeet kaur

1)functions may or may not have return type but procedure doesn't have return type
2)functions are called from select statement but procedure can not called from select statement
3)fuctions are used when some data is passed to calling environment but procedure is used
when some processing to be done

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is trigger in pl sql with examples?

0 Answers  


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

0 Answers  


What is partition by in sql?

0 Answers  


counting the no.of characters occurs in a string by using pl/sql function

1 Answers   TCS,


What is sql profiler in oracle?

0 Answers  


what is myisam? : Sql dba

0 Answers  


Why is sharding used?

0 Answers  


how mysql optimizes distinct? : Sql dba

0 Answers  


explain the options of myisamchk to improve the performance of a table. : Sql dba

0 Answers  


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

31 Answers   A1 Technology, Wipro,


How the execution will be done in exceptions?

2 Answers  


With out using count() function. How to the find total number of rows in a table?

6 Answers  


Categories