What are the differences between Database Trigger and
Integrity constraints ?
Answer Posted / santu sarkar
1> A database trigger is written in PL/SQL. Integrity Constraints are CHECK Constraints, Not NULL, Unique key, primary key and foreign key.
2> Trigger will not affect the existing data. Constraint will affect the existing data.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are the operators in sql?
Does sql profiler affect performance?
Why do we use partitions in sql?
Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?
what does the t-sql command ident_current does? : Transact sql
Can we create table in function?
What is the difference between function and procedure in pl/sql?
how does a local variable is defined using t-sql? : Transact sql
how can we destroy the session, how can we unset the variable of a session? : Sql dba
Is left join faster than join?
How does index help in query performance?
How many developers work on postgresql?
How many subqueries can be nested in a statement?
What is the purpose of the primary key?
Does sql full backup truncate logs?