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

Wht is the difference between stored procedure and trigger

Answer Posted / sujit kumar suman

Store Procedure:-It is a pre-compiled object which stored in
current database.It can't execute automatically.
--create store procedure
create proc procedure_name
as
select command
and then
go

--execute procedure

exec procedure_name

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write SQL queries on Self Join and Inner Join.

1071


What are distinctive joins find as a part of sql?

908


Which are ddl commands?

973


What is catalog views?

1024


How do I view a stored procedure in sql server query?

886


What is pessimistic concurrency?

922


Why do we use stored procedures in sql server?

895


How to insert and update data into a table with "insert" and "update" statements?

917


What is the recovery model?

931


How to use wildcard characters in like operations in ms sql server?

1063


As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?

989


What are different types of roles provided by ssrs?

144


How you can add messages to the nt event log from within a stored procedure?

990


Working with TLogs

1784


Can you index views?

852