employer cover photo
employer logo
employer logo

NextGen Healthcare

Is this your company?

NextGen Healthcare interview question

What is the difference between a trigger and a stored procedure?

Interview Answer

Anonymous

29 Feb 2012

A trigger is executed every time a data-modification operation occurs (i.e., insert, update or delete). A stored procedure is a set of T-SQL statements combined to perform a single task of several tasks. It’s basically like a Macro so when you invoke the Stored procedure, you actually run a set of statements.

1