ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is a transaction and what are ACID properties?
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is a transaction and what are ACID properties?
Answer
# 1
A transaction is a logical unit of work in which, all the 
steps must be performed or none. ACID stands for Atomicity, 
Consistency, Isolation, Durability. These are the 
properties of a transaction
 
Is This Answer Correct ?    32 Yes 2 No
Swapna
 
  Re: What is a transaction and what are ACID properties?
Answer
# 2
A transaction is a sequence of sql Operations(commands), 
work as single atomic unit of work. To be qualify 
as "Transaction" , this sequence of operations must satisfy 
4 properties , which is knwon as ACID test.

A(Atomicity):-The sequence of operations must be atomic, 
either all or no operations are performed.

C(Consistency):- When completed, the sequence of operations 
must leave data in consistent mode. All the defined 
relations/constraints must me Maintained.

I(Isolation): A Transaction must be isolated from all other 
transactions. A transaction sees the data defore the 
operations are performed , or after all the operations has 
performed, it can't see the data in between.

D(Durability): All oprtaions must be permanently placed on 
the system. Even in the event of system failure , all the 
operations must be exhibit.
 
Is This Answer Correct ?    53 Yes 2 No
Pravesh
 
 
 
  Re: What is a transaction and what are ACID properties?
Answer
# 3
A transaction is an atomic unit of work that must be 
completed in its entirety.The transaction succeeds if it 
committed and fails if it is aborted.Transactions have four 
essential properties:atomicity,consistency,isolation, and 
durability(known as the ACID properties).

Atomicity:The work cannot be broken into smaller 
parts.Although a transaction might contain many SQL 
statements,it must be run as all-or-nothing 
proposition,which means that,if a transaction is only 
partially complete when an error occurs,the work revertss 
to its state prior to the start of the transaction.

Consistency:A transaction must operate on a consistent view 
of the data and also leave the data in a consistency 
state.Any work in progress must not be visible to other 
transactions until the transaction has been committed.

Isolation:A transaction should appear to be running by 
itself,the effects of other ongoing transactions must be 
invisible to this transaction,and the effects of this 
transaction must be invisible to other ongoing transaction.

Durability:When the transaction is committed,it must be 
persisted so it is not lost in the event of a power 
failure.Only committed transaction are recovered during 
power-up and crash recovery;uncommitted work is roll back.
 
Is This Answer Correct ?    9 Yes 0 No
Archana
 
  Re: What is a transaction and what are ACID properties?
Answer
# 4
A-Atomacity
C-Consistency
I-Isolation
D-Durability
Atomacity-eiher all operations of the transaction are 
reflected properly in the database are none all.
Consistency-Execution of transaction in isolation (ie)with 
no other transaction executing concurrently.preserve
the consistency of the database.
Isolation-even though multiple transaction may execute 
concurrently.
Durablity-
after a transaction complete successfully the changes it has
made to the database presist even if there are system 
failure.
These are called ACID properties.
 
Is This Answer Correct ?    0 Yes 0 No
Abdul Malik(new College)
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
can anyone explain me the concept of Serialization in Detail and Clear? plz its urgent i have interview on friday (15th feb)  1
What are sub-queries? Give example? In which case sub-queries are not feasible? Infosys3
What is Trigger? Misys2
How reterive duplicate value in SQL?  5
What is the difference between a stored procedure and a user defined function in sql server? Millennium2
Let’s say the table in the database is named as TBL_Register. The fields in this table include: 1. User_Name, 2. User_Telephone, 3. Register_Date The field Register_Date stores the current date and time of the registration. Write the SQL statement that inserts the data into the table. Techno-Solutions2
What all db objects can be found in MSDB database of a SQL Server instance? Accenture1
how to give input dynamically to a insert statement in sqlserver HCL2
How to work on DTS?what is the main requirement? ivan1
Write an SQL query if u want to select the data from one block which intern reflects in another block ? thanx,do reply Covansys1
What is the difference between windows authentication and sql server authentication HCL4
can anybody tell us, how to select 2nd max salary from table. my id is ashish.akk@gmail.com Symphony21
what is the out put of below queries? a. select * from Emp where null = null; b. select * from Emp where 1=1; Patni9
What is an extended Stored Procedure?  1
How can i change the column name. HCL7
How to write stored procedure to update the data in 10 tables  4
What types of integrity are enforced by a foreign-key constraint  1
can primery key be a non clustered index?  8
After using delete statement in sql query to delete some records...to retrieve the deleted records we can get using rollback command but till that where it stores means particular location name i need....(after deleting and rollback ) iGate2
Let us say master db itself has no backup. Now you have to rebuild the db so what kind of action do you take?  1
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com