For example, in Test12
DB I have two tables
Table 1: Emp_Details
:
Emp_ID int
[Emp_Name] [varchar](50) NULL,
Table 2: salary
:
[Sal_ID] [int] IDENTITY(1,1) NOT NULL,
[Salary] [varchar](50) NULL,
I want to update and insert automatically (when they are modified) Emp_Name
from Emp_Details
table and Salary
from Salary
table
To another Database, Test22
, which has a table DepTable
:
Dep_ID [int]
Dep_Name varchar(50) NULL,
Emp_Name varchar(50) NULL,
Salary1 varchar(50) NULL,
Respectively, if you have any ideas, please help me.