Which ADO object is used to perform commit / rollback ?
Is it command or connection or recordset

I am not sure of the options given. So please let me know
the answer if it is something else.

Answers were Sorted based on User's Feedback



Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / ghanshyam vrema

ye, through Connection object you can commit or rollback
the transaction Eg:

on error go to errhandler
con.BeginTrans

con.execute cmd
con.execute cmd2
con.CommitTrans
errhandler:
con.RollbackTrans

Is This Answer Correct ?    18 Yes 0 No

Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / senthil

Connection object

Is This Answer Correct ?    14 Yes 0 No

Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / anjani

Connection Object of ADO is Used to Perform Commit and
Rollback.

Is This Answer Correct ?    9 Yes 0 No

Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / john ranjith

Connection object will be used to commit / rollback the
transaction

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

What are the Technologies for Accessing Database from Visual Basic?

1 Answers  


Can Redim be used to declare a new array ?

13 Answers   Infosys,


What is activex control in vb?

0 Answers  


1s it posible to Create Tables Through Querydef?

0 Answers  


What is the use of Immediate, Local Window?

1 Answers  






What is dao in visual basic?

0 Answers  


____ property of menu cannot be set at run time.

0 Answers  


What is the purpose of the AutoRedraw property on a form or container?

3 Answers  


How many objects resides in ADO ?

0 Answers  


What is the use of parameters collection?

2 Answers  


What is snapshot in vb?

0 Answers  


Dim X,Y as Integer Here what is the datatype of X and Y ?

8 Answers   Syscom,


Categories