Add EXTERNAL SQL scripts
This commit is contained in:
42
EXTERNAL/02 dm_td_external_keycompatitor.sql
Normal file
42
EXTERNAL/02 dm_td_external_keycompatitor.sql
Normal file
@@ -0,0 +1,42 @@
|
||||
-- Databricks notebook source
|
||||
insert overwrite dm.dm_td_external_keycompatitor (
|
||||
RNK,
|
||||
BRAND_NAME,
|
||||
BRAND_CODE,
|
||||
IMSBRAND,
|
||||
CompatitorCN,
|
||||
CLASS,
|
||||
CompatitorEN,
|
||||
CORP,
|
||||
Market,
|
||||
VBP,
|
||||
ValueType,
|
||||
MARKETDESC,
|
||||
Strategicbrand,
|
||||
TA,
|
||||
DEFAULTFLAG,
|
||||
CompatitorMarket,
|
||||
CompatitorType,
|
||||
DATA_SOURCE
|
||||
)
|
||||
select
|
||||
RNK,
|
||||
BRAND_NAME,
|
||||
BRAND_CODE,
|
||||
IMSBRAND,
|
||||
competitorcn,
|
||||
CLASS,
|
||||
competitoren,
|
||||
CORP,
|
||||
Market,
|
||||
VBP,
|
||||
ValueType,
|
||||
MARKETDESC,
|
||||
Strategicbrand,
|
||||
TA,
|
||||
int(DEFAULTFLAG),
|
||||
competitormarket,
|
||||
competitortype,
|
||||
DATA_SOURCE
|
||||
from
|
||||
dwd.dwd_gnd_ims_compete_product_config
|
||||
Reference in New Issue
Block a user