Answer Posted / suresh
SQL> CREATE TABLE to_table
2 (col1 NUMBER);
Table created.
SQL> CREATE OR REPLACE TRIGGER statement_trigger
2 AFTER INSERT ON to_table
3 BEGIN
4 DBMS_OUTPUT.PUT_LINE('After Insert Statement
Level');
5 END;
6 /
Trigger created.
SQL> CREATE OR REPLACE TRIGGER row_trigger
2 AFTER INSERT ON to_table
3 FOR EACH ROW
4 BEGIN
5 DBMS_OUTPUT.PUT_LINE('After Insert Row Level');
6 END;
7 /
Trigger created.
SQL> INSERT INTO TO_TABLE VALUES(1);
After Insert Row Level
After Insert Statement Level
1 row created.
SQL> BEGIN
2 INSERT INTO TO_TABLE VALUES(2);
3 INSERT INTO TO_TABLE VALUES(3);
4 INSERT INTO TO_TABLE VALUES(4);
5 INSERT INTO TO_TABLE VALUES(5);
6 INSERT INTO TO_TABLE VALUES(6);
7 INSERT INTO TO_TABLE VALUES(7);
8 INSERT INTO TO_TABLE VALUES(8);
9 INSERT INTO TO_TABLE VALUES(9);
10 INSERT INTO TO_TABLE VALUES(0);
11 END;
12 /
WAT LL BE THE O/P???
XPLAIN IT>>>>
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Does facebook use oracle?
What are the data types in oracle?
Explain the use of consistent option in exp command.
Does oracle database need java?
definition of cluster and non-clustered index?
candidate key is subset of super key but not vice-verse explain
How to update a table row with a record?
What are the database administrators utilities available?
Explain implicit cursor.
What is a private synonym?
What is a system tablespace and when it is created?
How to assign query results to variables?
How to define a data source name (dsn) in odbc manager?
Explain user account with reference to oracle.
What is a nvl function?