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

How will you define a function to accept variable number of arguments ?

1 Answers  


Is visual basic case sensitive?

0 Answers  


What do you mean by Databound Controls? Explain.

1 Answers  


What is RDO?

1 Answers  


What is the difference between queryunload and unload in form?

2 Answers  






What is the difference between ANSI and UNICODE strings when passed as arguments to a DLL?

3 Answers  


How do I mimic a toggle button?

0 Answers  


How can you Add API functions to your Application?

0 Answers  


How to control the file?

0 Answers  


What is the difference between Object and Class?

2 Answers  


How would you run your ActiveX Document Dll?

0 Answers  


When/Why should I use Option Explicit?

0 Answers  


Categories