File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 1
1
{{ #each dataObjectMappings }}
2
2
--
3
- -- Staging Area table creation statement for {{ targetDataObject.name }}
3
+ -- Persistent Staging Area table creation statement for {{ targetDataObject.name }}
4
4
-- Generated at {{ now }}
5
5
--
6
6
@@ -9,16 +9,8 @@ DROP TABLE [{{targetDataObject.name}}]
9
9
10
10
CREATE TABLE [{{ targetDataObject.dataObjectConnection.extensions.0.value }} ].[{{ targetDataObject.dataObjectConnection.extensions.1.value }} ].[{{ targetDataObject.name }} ]
11
11
(
12
- [{{ ../metadataConfiguration.etlProcessAttribute }} ] [int] NOT NULL,
13
- [{{ ../metadataConfiguration.loadDateTimeAttribute }} ] [datetime2](7) NOT NULL,
14
- [{{ ../metadataConfiguration.eventDateTimeAttribute }} ] [datetime2](7) NOT NULL,
15
- [{{ ../metadataConfiguration.recordSourceAttribute }} ] [nvarchar](100) NOT NULL,
16
- [{{ ../metadataConfiguration.sourceRowIdAttribute }} ] int NOT NULL,
17
- [{{ ../metadataConfiguration.changeDataCaptureAttribute }} ] [nvarchar](100) NOT NULL,
18
- [{{ ../metadataConfiguration.recordChecksumAttribute }} ] binary(16) NOT NULL,
19
- {{ #each dataItemMappings }}
20
- [{{ sourceDataItems.0.name }} ] [varchar](100){{ #unless @last }} ,{{ /unless }}
12
+ {{ #each sourceDataObjects.0.dataItems }}
13
+ [{{ name }} ] [varchar](1000){{ #unless @last }} ,{{ /unless }}
21
14
{{ /each }}
22
15
)
23
-
24
- {{ /each }}
16
+ {{ /each }}
You can’t perform that action at this time.
0 commit comments