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 a stored procedure and trigger?

Answer Posted / sandeep

First of all both are precompiled sql statements stored at
database server.

1. Stored procedures can return values to the caller
whereas triggers cant.

2. we cant call a trigger directly becos it is called by
the database server on an event(automatically raised on
insert,update,delete statements).

3. triggers can access datas from outside world(outside of
the Database).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the list of fixed hard drive and free space on server?

1201


How to rename databases in ms sql server?

1205


Do you know what is fill factor and pad index?

1004


When would you use it?

994


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

1998


what are the disadvantages of cursors? : Sql server database administration

1029


What is Dependency Injection and provide example?

1117


What is extended stored procedures?

966


Which trace flags are enabled in sql server?

1019


How to download and install sql server 2005 books online?

1191


How to install sql server 2005 express edition?

1122


What is PROJECTION Operation?

1022


What is a unique index?

934


What happens when converting big values to numeric data types?

1135


Define outer join?

1003