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

what is difference between procedure and function,
procedure and trigger?

Answer Posted / arup ratan banerjee

Procedure and Function
----------------------
1)Function return atleast one value
Procedure may or may not return value

2)Function can be a part of expression
Procedure can't be a part of exception

Procedure and Trigger
----------------------
Procedure need to be executed explicitly
Trigger gets automatically executed when insert update or
delete is fired on a table.



commit can be done in procedure
commit cannot be done in case of triggerrs except for
autonomous transactions

Is This Answer Correct ?    47 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a design view?

920


what are the different index configurations a table can have? : Sql dba

993


What is partition by in sql?

1060


What is the difference between sql and t sql?

1028


Can we use ddl commands in pl sql?

1150


Is left join inner or outer?

1010


What if we write return in procedure?

1414


What is sqlservr exe?

973


what are all types of user defined functions? : Sql dba

1038


what is the difference between nested subquery and correlated subquery?

1048


What are the key differences between SQL and PL SQL?

1209


What makes a good primary key?

1030


What is sql key?

979


what are wild cards used in database for pattern matching ? : Sql dba

1135


Does normalization improve performance?

1031