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 can sql server instances be hidden? : sql server security

1219


How to verify a login name with sqlcmd tool?

1269


What is “asynchronous” communication in sql server service broker?

1083


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1167


what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

1175


What does top operator do?

1081


Is it possible to create trigger on views?

1033


List the ways in which dynamic sql can be executed?

1063


What does the update command do?

1175


What is open database communication (odbc)?

1121


What is dynamic cursor in SQL SERVER?

1141


What are the types of sql server?

1103


How are the unique and primary key constraints different?

1129


What are the extra roles available in msdb? : sql server security

1184


What is triggers and stored procedures?

993