Below are my three source tables.
Example Values: Record #1: 1, Road Accident Record #2: 2, Safety Criteria
Example Values: Record #1: 1, 2019-01-31 00:00:00.000 Record #1: 2, 2019-02-28 00:00:00.000
3. GENERATED SQL STATEMENT This one has sql statement with aggregated rows.
Hence, Above three are sources to read record and below one is where I am trying to write data.
NOTE : Last 4 columns in above table are derived from SQL statement from point #3.
So far I have tried below using SSIS with no avail.
Honestly, I cannot really share any code but an attached image above as I am intending to use SSIS.
As an expected result, I am intending to see output like below.
Some good insight from community is appreciated.
MORE DESCRIPTION: In above point #3 3. GENERATED SQL STATEMENT , I am deriving a query which belongs to completely separate database and it has no reference to above master tables. And tables in first two points belong to separate database. Hence, I am not sure how lookup would help.
您可以使用三点对象名称(即DB.Schema.Table)并在单个查询中引用多个数据库中的对象。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.