adspace


What are the uses of merge?

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


Please Help Members By Posting Answers For Below Questions

What is the current version of postgresql?

1178


Can delete statement be rollbacked?

1054


Can we use distinct and group by together?

1133


what are the advantages of sql ? : Sql dba

1142


what is dbms? : Sql dba

1061


Do we need to rebuild index after truncate?

1138


Is primary key always clustered index?

1095


What is the current version of sql?

1094


Does group by remove duplicates?

1112


what is collation? : Sql dba

1229


define sql insert statement ? : Sql dba

1098


how to start mysql server? : Sql dba

1267


what are aggregate and scalar functions? : Sql dba

1129


what is bcp? When does it used? : Sql dba

1056


Can we rollback truncate?

1074