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?

Answers were Sorted based on User's Feedback



What is Transaction?..

Answer / 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

What is Transaction?..

Answer / subba reddy

A transaction is a series of SQL data manipulation
statements that does a logical unit of work. Oracle
treats the series of SQL statements as a unit so that all
the changes brought about by the statements are
either committed (made permanent) or rolled back (undone)
at the same time. If your program fails in the
middle of a transaction, the database is automatically
restored to its former state

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How dts is used to extract, transform and consolidate data?

0 Answers  


How many types of built in functions are there in sql server 2012?

0 Answers  


What is difference between Triggers and store procedure?

2 Answers  


What is clustered vs nonclustered index?

0 Answers  


wht's the differece between sqlserver05 and sqlserver2000

3 Answers  


What is the meaning of sql server?

0 Answers  


What are the differences between triggers and stored procedures?

0 Answers  


How do I start and stop sql server?

0 Answers  


What is the difference between dbcc indexdefrag and dbcc reindex?

0 Answers  


can i write function in stored procedure and stored procedure in function and nested procedure.Give one example for each question?

1 Answers   Cap Gemini, TCS,


What is the difference between Temporary table variable and a Table variable? Or Which Table variable I should use inside Stored procedure?

3 Answers   Microsoft, TCS, Techastrum,


Explain the architecture of ms sql reporting service?

0 Answers  


Categories