filmov
tv
Merge Statement in SQL Oracle - Practical Demo of merging two contact tables
Показать описание
This video step by step explains the concept of merge statement in oracle with practical demonstrations. Here, in this example i have created two tables contact1 and contact2 then based on contact_id i have merge the record from contact2 to contact1. If the contactID is found in contact2 then i am updating the record from contact2 to contact1 and if the contactID is not found in contact2 then i am inserting the record from contact2 to contact1.
Data and Table
CREATE TABLE CONTACT1(CID NUMBER(3) PRIMARY KEY,
NAME VARCHAR2(30),
MOBILE NUMBER(10),
EMAIL VARCHAR2(30))
/
CREATE TABLE CONTACT2(CID NUMBER(3) PRIMARY KEY,
NAME VARCHAR2(30),
MOBILE NUMBER(10),
EMAIL VARCHAR2(30))
/
For Learning More about Programming
Data and Table
CREATE TABLE CONTACT1(CID NUMBER(3) PRIMARY KEY,
NAME VARCHAR2(30),
MOBILE NUMBER(10),
EMAIL VARCHAR2(30))
/
CREATE TABLE CONTACT2(CID NUMBER(3) PRIMARY KEY,
NAME VARCHAR2(30),
MOBILE NUMBER(10),
EMAIL VARCHAR2(30))
/
For Learning More about Programming
Oracle SQL MERGE Statement
MERGE Statement in Oracle with Example || Oracle Database Tutorial
SQL - Merge
Oracle PL SQL interview question | Oracle MERGE statement | oracle merge statement example
Oracle - SQL - Merge Statement
Day 14 - Oracle SQL Tutorial Merge statement in Oracle | UPSERT Concept in Oracle | SQL Interview
SQL Merge Statement Tutorial A-Z | How to use Merge in SQL step by step
Oracle PL SQL interview question | Oracle MERGE statement | oracle merge statement example #Merge
SQL: The MERGE Statement
110- Oracle SQL 12c: Manipulating Data- Merge Statement 1
111- Oracle SQL 12c: Manipulating Data- Merge Statement 2
Overview Oracle SQL - MERGE Statement
Merge Statement in SQL Oracle - Practical Demo of merging two contact tables
Merge Statement in Oracle | Merge Statement in SQL
Merge Statement in Oracle SQL with Example (UPDATE/DELETE or INSERT)
Learn Oracle | How to use the Merge Statement in SQL
Oracle PL SQL interview question | Oracle MERGE statement Error Handling
Merge Statement in SQL | How to Merge Statements in SQL | Intellipaat
SQL : Oracle MERGE statement in H2 database
Part 69 Merge in SQL Server
SQL Merge | UPSERT in SQL | ORACLE
Database Programming with SQL - The Merge Statement
How to use the MERGE command in oracle SQL? | MERGE in SQL Oracle | Oracle Database Tutorial.
Using Where condition in Merge Statement in Oracle SQL
Комментарии