Difference between Triggers and Stored Procedure
Answer Posted / madhu prakash p
sp and trigger are both predefined set of sql statements
we can pass the arguments for sp but we cant pass the
arguments for triggers.
trigger will fire implicitly, when ever relavent action
performed by the user on the tables where the triggers are
placed.
But in the stored procedures u must call explicitly.
| Is This Answer Correct ? | 43 Yes | 9 No |
Post New Answer View All Answers
What are ddl (data definition language) statements for tables in ms sql server?
Explain a checkpoint?
Explain indexing and what are the advantages of it?
Explain some stored procedure creating best practices or guidelines?
How to use column default values in insert statements in ms sql server?
What are indexers?
What is the report model project?
What are different types of collation sensitivity?
Explain datetimeoffset data type in sal server 2008?
What is difference between line feed ( ) and carriage return ( )?
What is key attribute?
What is transact-sql language?
When is the use of update_statistics command?
but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration
Write an sql query to find first weekday of the month?