Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Transaction?

Answer Posted / sivasiva

A transaction in SQL (structured query language) is a
larger unit of database processing that contains one or
more database access operations like insertion ,deletion,
retrieval and modification operations.

These transaction are required to fulfil certain
characteristics and they are :

Atomicity: The transaction is either performed entirely or
not performed at all.
Isolation: The transaction should not be interfered by any
other transaction executing concurrently.
Durability: The changes made by the transaction should be
permanently committed in the database.
Consistency preservation: If the database was consistent
before the execution of the transaction .It should remain
consistent after the complete execution of that transaction.

There are two types of transactions: explicit and implicit

Explicit are those that need to be specified like : commit
and roll-back

Commit transaction signals that the transaction was
successfully executed and the changes/ updates (if any)
made by the transaction have been committed to the database
and these changes cannot be undone.

Roll-back signals that the transaction was not successfully
executed , and the changes/updates made by the transaction
have to be undone.

Implicit transactions are those that mark beginning and
end of the transaction, each statement like update,
delete , insert run within these implicit
transactions.,However, you can explicitly specify the
beginning and ending of the transaction by "begin
transaction" and "end transaction" statements respectively.
All the statements within these two boundaries will be
marked as one transaction.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date

1031


what purpose does the model database serve? : Sql server database administration

957


What is the use of toad or sqldbx.?

1138


How can a database be repaired?

966


How to create and drop temp table in sql server?

1034


What are the disadvantages of using the stored procedures?

1079


What are the advantages of user defined function?

967


What is thr feature of change data capture?

963


What is a self join in sql server?

1110


What is the difference between a stored procedure and a user defined function?

1010


How to perform key word search in tables?

948


Ms sql server index?

1049


How does recursive cte works in sql server?

987


What is deploy, process and build? : sql server analysis services, ssas

1085


what is the primary use of the model database? : Sql server administration

1024