I just want to see whether the data is getting inserted on the table or not..
So i have written like this:
select count(*) from emp;
dbms_lock.sleep(1);
select count(*) from emp;
So that it will sleep for 1 min . Even after sleep if the 1st count and 2nd count are different then the data is getting inserted into the table.
Otherwise the insertions are not happening.
But i have a small doubt regarding this, whether this instance will hang for 1 sec or the whole Database will hangon for 1 sec.
And if it wrong how to implement this.