adspace
Answer Posted / Naman Agarwal
The MERGE statement is a powerful SQL command used for updating, inserting, and deleting data in a target table based on the contents of a source table. The main uses of the MERGE statement include:n
1. Efficiently updating large amounts of data.
2. Updating related tables simultaneously.
3. Handling situations where some rows need to be updated, inserted or deleted using different conditions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the current version of postgresql?
Can delete statement be rollbacked?
Can we use distinct and group by together?
what are the advantages of sql ? : Sql dba
what is dbms? : Sql dba
Do we need to rebuild index after truncate?
Is primary key always clustered index?
What is the current version of sql?
Does group by remove duplicates?
what is collation? : Sql dba
define sql insert statement ? : Sql dba
how to start mysql server? : Sql dba
what are aggregate and scalar functions? : Sql dba
what is bcp? When does it used? : Sql dba
Can we rollback truncate?