Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


What do you mean by transactions and their different controls in SQL Server?
Question Posted on 01 Oct 2022

Home >> DataBase >> sql questions >> What do you mean by transactions and their different controls in SQL Server?




What do you mean by transactions and their different controls in SQL Server?
When we say about the transactions in SQL Server we can defined transaction as a sequence of task which is performed on database in a logical manner to gain certains results. And different operations like creating, deleting and updating records performed in the database come from transactions.

And when we say transactions in simple language is a group of sql queries executed in database records.

Below are the 4 transactions controls:-

(1)COMMIT:-We use this to save all changes made through the transaction.

(2)ROLLBACK:-We use this to roll back transaction. And all the changes made by transaction are reverted back and the database remains as before.

(3)SET TRANSACTION:-This will used to set name of the transaction.

(4)SAVEPOINT:-We use SAVEPOINT to set the point where the transaction is to be rolled back.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Define N in nvarchar and in nchar?
difference between drop and truncate command
difference between procedure and function
different types of databases in sql
Difference Between Update Lock and Exclusive Lock






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |