Search:     Advanced search
Browse by category:
C/C++   |   Java   |   Oracle/Database   |   SAP   |   ASP .NET   |   Mainframe-DB2   |   Freshers

What is MERGE Statement?

Add comment
Views: 62
Votes: 0
Comments: 0
MERGE is a new feature that provides an efficient way to perform multiple DML operations. In previous versions of SQL Server, we had to write separate statements to INSERT, UPDATE, or DELETE data based on certain conditions, but now, using MERGE statement we can include the logic of such data modifications in one statement that even checks when the data is matched then just update it and when unmatched then insert it. One of the most important advantages of MERGE statement is all the data is read and processed only once.
Others in this Category
document Q: Please explain the concepts of transaction, commit and rollback
document What is Log Shipping?
document What is SQL Profiler?
document How can we rewrite sub-queries into simple select statements or with joins?
document Q: What is the difference between Rule based optimization and Cost based optimization in Oracle SQL queries?
document What is LINQ?
document How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
document What do you mean by Table Sample?
document Q: What is difference between TRUNCATE & DELETE ?
document How to copy the tables, schema and views from one SQL Server to another?
» More articles



RSS