Wht is the difference between stored procedure and trigger

Answer Posted / anand

SRTORED PROCEDURES : STORED PROCEDURES IS A SET OF SQL
STATEMENT WHICH CAN NOT EXECUTES AUTOMATICALLY.

TRIGGERS : TRIGGERS IS A STORED PROCEDURE AND EXECUTES
AUTOMATICALY. IF ANY CHANGES OCCURED IN A TABLE OF DATABASE
I.E. INSERT, UPDATE OR DELETE STATE IS OCCURED IN TABLE IT
FIRED AUTOMATICALY .

Is This Answer Correct ?    13 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is not null constraint?

614


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

643


Why we need to use secondry database file? though, we can do same work using primary database file also.

5755


What is a constant or literal in ms sql server?

587


How can you set the threshold at which sql server will generate keysets asynchronously?

561






Describe in brief authentication modes in sql server.

558


what is the sql equivaent of the dataset relation object ?

1563


What is a deadlock and what is a live lock?

567


How does using a separate hard drive for several database objects improves performance right away?

526


Describe how to use linked server?

537


Why use sub query in sql server and list out types of sub queries?

534


How to declare and use cursor variables?

579


What are different types of raid configurations? : SQL Server Architecture

566


What is the full meaning of dml?

519


How to declare a cursor with "declare ... Cursor" in ms sql server?

565