adspace


What is autocommit sql?

Answer Posted / Chandan Kumar Roy

Autocommit SQL refers to the automatic committing of transactions in SQL databases. By default, when each SQL statement is executed, it is committed immediately unless the transaction is explicitly begun and ended with a BEGIN TRANSACTION and COMMIT or ROLLBACK command.nnIn some cases, you might want to disable autocommit to have more control over multiple statements and manage them as a single unit of work. This can be done by starting an explicit transaction using the BEGIN TRANSACTION statement.nnFor example:n`nBEGIN TRANSACTION;n-- Multiple SQL statements herenCOMMIT;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2100


what is dbms? : Sql dba

1070


how to use regular expression in pattern match conditions? : Sql dba

1125


What is the best sql course?

1062


If a cursor is open, how can we find in a pl/sql block?

1252


Is inner join faster than left join?

1287


what is bcp? When does it used? : Sql dba

1065


What is the current version of postgresql?

1188


Is primary key clustered index?

1027


what is sql server agent? : Sql dba

1188


how to escape special characters in sql statements? : Sql dba

1124


how to start mysql server? : Sql dba

1279


Can we rollback truncate?

1083


Is primary key always clustered index?

1101


Do we need to rebuild index after truncate?

1151