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

What is bookmark link in ssrs?

232


What is index in an assignment?

885


Which sql server table is used to hold the stored procedure script?

880


How do I uninstall sql server 2014?

870


What are the different SQL Server Versions you have worked on?

948


When would you use a before or after trigger?

856


What is rank function?

974


1.what are diff types of joins , and explain diff between cross join and full outer join 2.diff types of views 3. Diff types of index 4. What is diff b/w stores procedure and function procedure 5.diff between double and int in SQL 6.diff between char and varchar in SQL. 7.Oracle or SQL whice you will preferred and why.

1525


Can we shrink data file in sql server?

996


Explain primary key?

894


What are the types of processing and explain each? : sql server analysis services, ssas

1101


What is correlated subquery in sql server?

1012


Explain the etl (extraction, transformation, and loading)?

934


plss anybody specify tha constrian management system in dbms

2077


Define clusters?

993