GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Certification  >  Oracle  >  Oracle Developer
Go To First  |  Previous Question  |  Next Question 
 Oracle Developer  |  Question 19 of 23    Print  
Which two statements complete a transaction? (Choose two)
A. DELETE employees;
B. DESCRIBE employees;
C. ROLLBACK TO SAVEPOINT C;
D. GRANT SELECT ON employees TO SCOTT;
E. ALTER TABLE employees
SET UNUSED COLUMN sal;
F. Select MAX(sal)
FROM employees
WHERE department_id = 20;

According to my knowledge, DDL & DCL stmts have implicit commit & so end the transaction.
Also, issuing of ROLLBACK & COMMIT ends a transaction hence answers should be C(ROLLBACK), D(DCL) & E(DDL)
& E. Pls confirm.

  
Total Answers and Comments: 9 Last Update: April 15, 2008     Asked by: ADITI 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 20, 2006 04:26:09   #1  
prm.rddy Member Since: February 2006   Contribution: 2    

RE: Which two statements complete a transaction? (Choo...

C D E

C:Rollback is an transaction statement

D:Grant is a dcl statemet when ever u issue a statment like dcl oracle automatically compleates the commit.

e:Alter table is also Dcl


 
Is this answer useful? Yes | No
July 19, 2006 07:09:30   #2  
sivaraman        

RE: Which two statements complete a transaction? (Choo...

ROLLBACK TO SAVEPOINT (C) is not be a valid answer since it does not complete the transaction entirely. Take this eg

DELETE employees where name like 'H ';

SAVEPOINT C;

DELETE employees where name like 'R ';

ROLLBACK TO SAVEPOINT C;

In this case the transaction is not completely ended. Still the DELETE employees where name like 'H '; is present in buffer and so transaction incomplete.


 
Is this answer useful? Yes | No
August 10, 2006 06:45:42   #3  
vasumathi.k        

B,C
b) describe the employees means the transaction can be completed because we can view all the details of the employees.c)finnally we can save the employee details.
 
Is this answer useful? Yes | No
September 21, 2006 08:58:12   #4  
sravan        

RE: Which two statements complete a transaction? (Choo...
If we want to compleate a transaction we have to comiit In the above state ments there is no such state ment which really update any rows in the table.so with out updatewe cannot commit.is it correct
 
Is this answer useful? Yes | No
January 11, 2007 05:21:36   #5  
saibabu Member Since: January 2007   Contribution: 14    

RE: Which two statements complete a transaction? (Choo...
transaction complete means u must perform any DML operation and then issue commit command this will makes a transaction completes. sai
 
Is this answer useful? Yes | No
December 24, 2007 13:52:37   #6  
mala321 Member Since: December 2007   Contribution: 6    

RE: Which two statements complete a transaction? (Choose two)A. DELETE employees;B. DESCRIBE employees;C. ROLLBACK TO SAVEPOINT C;D. GRANT SELECT ON employees TO SCOTT;E. ALTER TABLE employees SET UNUSED COLUMN sal;F. Select MAX(sal) FROM employees
Hello

D and E are the two stmsts which completes a transaction


C is not done properly ---- simple rollback would have done a transaction but it is a rollback to a some point in a transaction.


bye n good luck
mala

 
Is this answer useful? Yes | No
March 17, 2008 13:50:50   #7  
venkat82.k Member Since: February 2008   Contribution: 6    

RE: Which two statements complete a transaction? (Choose two)A. DELETE employees;B. DESCRIBE employees;C. ROLLBACK TO SAVEPOINT C;D. GRANT SELECT ON employees TO SCOTT;E. ALTER TABLE employees SET UNUSED COLUMN sal;F. Select MAX(sal) FROM employees
  • Hi
    this is venkat.
    answer is :-c d
    because here DDL DCL commands are used.
    after any transactions when we perform DDL DCL commands
    that transaction implictly it becomes auto commit so these are
    answers just i think that please confirm once again..........

 
Is this answer useful? Yes | No
April 15, 2008 03:20:00   #8  
kishore Member Since: September 2005   Contribution: 5    

RE: Which two statements complete a transaction? (Choose two)A. DELETE employees;B. DESCRIBE employees;C. ROLLBACK TO SAVEPOINT C;D. GRANT SELECT ON employees TO SCOTT;E. ALTER TABLE employees SET UNUSED COLUMN sal;F. Select MAX(sal) FROM employees

ddddddd
eeeeeeeee


 
Is this answer useful? Yes | No
April 15, 2008 03:20:27   #9  
kishore Member Since: September 2005   Contribution: 5    

RE: Which two statements complete a transaction? (Choose two)A. DELETE employees;B. DESCRIBE employees;C. ROLLBACK TO SAVEPOINT C;D. GRANT SELECT ON employees TO SCOTT;E. ALTER TABLE employees SET UNUSED COLUMN sal;F. Select MAX(sal) FROM employees

d
e


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape