What is the difference between constraints and triggers?

Answer Posted / vampire007

I dont' think Triggers are performanc wise more superior to
constraints. Constraints are isolated to table level
whereas triggers are flexible to do the validation on any
number of tables.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does stuff differ from the replace function?

642


How do you improve the performance of a SQL Azure Database?

123


What is the default value of an integer data type in sql server 2005?

654


What are number line correlation administrators will use while working with a subquery?

720


Mention the differences between substr and charindex in sql server.

602






How to delete duplicate rows?

624


Is it possible to create trigger on views?

628


why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration

647


How many instances per computer are there in sql server 2000?

658


How to view existing indexes on an given table using sys.indexes?

692


What is the difference between clustered and non-clustered indexes in ms sql server?

584


Difference between group by clause and having clause in SQL?

651


What do you understand by recursive stored procedure?

595


To automatically record the time on which the data was modified in a table, which data type should you choose for the column?

628


how to create a scrollable cursor with the scroll option? : Sql server database administration

690