Which one is the Best approach to put code, among Triggers
and Procedures? Explain?
Answer / gogu s k
For security and audit related events and to record changes
done to database, triggers are best.
For applying business rules and performing dml operations
procedures are ideal.
Is This Answer Correct ? | 3 Yes | 0 No |
Q1.all the depts which has more then 10 empls? Q2.all the dept which does not have any emply? Q3 all the emp which does not have any dept? Q4 get all the emply detais with the dept details it dept is exit otherwise any emp details? Q5 how to debugg the dynamic sql and packages?
What is sql and its types?
What is the size of partition table?
I need to write a simple query,which one is better select statement or stored procedure?and why?
I have a Employee table with columns ename,eid,salary,deptno. How to retrieve sum of salary for each deptno?
What found sql?
What are the two characteristics of a primary key?
which will fire first ? Trigger or Constraint
24 Answers i2, IBM,
What is difference between primary and secondary key?
What is the most important ddl statements in sql are?
How many sectors are in a partition?
What is the difference between delete, truncate and drop command?