-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForm 3.3b INSERT Total_Full_McpfeDb_2011 Prev - tmp.sql
More file actions
179 lines (167 loc) · 5.92 KB
/
Form 3.3b INSERT Total_Full_McpfeDb_2011 Prev - tmp.sql
File metadata and controls
179 lines (167 loc) · 5.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
USE Timber --Inserting mcpfe-2011 data into Total_Full_McpfeDb_2011
GO
BEGIN TRANSACTION;
EXECUTE usp_DROP_CREATE_DATA_Excluded 'y'; -- Drop & create the DATA_Excluded table for the data to be exlcluded from uploading the Total_Full_McpfeDb_2011 table by the usp_INSERT_Total_Full_McpfeDb_2011 procedure.
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'y',
-- @Topic_ID = 27,
-- @Topic_E = N'8. Game meat',
-- @Insert_Group = 'n',
-- @Group_ID = 15,
-- @Group_E = N'Quantity (tonnes)',
-- @Insert_ReportingForm = 'y',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'066',
-- @TERM_NAME = N'8. Game meat / Quantity',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'n',
-- @Topic_ID = 27,
-- @Topic_E = N'8. Game meat',
-- @Insert_Group = 'n',
-- @Group_ID = 14,
-- @Group_E = N'Value (1000 ˆ)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'067',
-- @TERM_NAME = N'8. Game meat / Value',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'y',
-- @Topic_ID = 28,
-- @Topic_E = N'9. Living animals',
-- @Insert_Group = 'n',
-- @Group_ID = 13,
-- @Group_E = N'Quantity (1000 pcs)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'068',
-- @TERM_NAME = N'9. Living animals / Quantity',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'n',
-- @Topic_ID = 28,
-- @Topic_E = N'9. Living animals',
-- @Insert_Group = 'n',
-- @Group_ID = 14,
-- @Group_E = N'Value (1000 ˆ)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'069',
-- @TERM_NAME = N'9. Living animals / Value',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'y',
-- @Topic_ID = 29,
-- @Topic_E = N'10. Pelts, hides, skins and trophies',
-- @Insert_Group = 'n',
-- @Group_ID = 13,
-- @Group_E = N'Quantity (1000 pcs)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'070',
-- @TERM_NAME = N'10. Pelts, hides, skins and trophies / Quantity',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'n',
-- @Topic_ID = 29,
-- @Topic_E = N'10. Pelts, hides, skins and trophies',
-- @Insert_Group = 'n',
-- @Group_ID = 14,
-- @Group_E = N'Value (1000 ˆ)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'071',
-- @TERM_NAME = N'10. Pelts, hides, skins and trophies / Value',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'y',
-- @Topic_ID = 30,
-- @Topic_E = N'11. Wild honey and bee-wax',
-- @Insert_Group = 'n',
-- @Group_ID = 15,
-- @Group_E = N'Quantity (tonnes)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'072',
-- @TERM_NAME = N'11. Wild honey and bee-wax / Quantity',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'n',
-- @Topic_ID = 30,
-- @Topic_E = N'11. Wild honey and bee-wax',
-- @Insert_Group = 'n',
-- @Group_ID = 14,
-- @Group_E = N'Value (1000 ˆ)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'073',
-- @TERM_NAME = N'11. Wild honey and bee-wax / Value',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'y',
-- @Topic_ID = 31,
-- @Topic_E = N'12. Raw material for medicine, colorants',
-- @Insert_Group = 'n',
-- @Group_ID = 15,
-- @Group_E = N'Quantity (tonnes)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'074',
-- @TERM_NAME = N'12. Raw material for medicine, colorants / Quantity',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'n',
-- @Topic_ID = 31,
-- @Topic_E = N'12. Raw material for medicine, colorants',
-- @Insert_Group = 'n',
-- @Group_ID = 14,
-- @Group_E = N'Value (1000 ˆ)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'075',
-- @TERM_NAME = N'12. Raw material for medicine, colorants / Value',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
--EXECUTE usp_INSERT_Total_Full_McpfeDb_2011
-- @Insert_Topic = 'y',
-- @Topic_ID = 32,
-- @Topic_E = N'13. Other animal products',
-- @Insert_Group = 'n',
-- @Group_ID = 14,
-- @Group_E = N'Value (1000 ˆ)',
-- @Insert_ReportingForm = 'n',
-- @ReportingForm_ID = 6,
-- @ReportingForm_E = N'Form 3.3b: Non-wood goods (2005) - Animal products / raw materials',
-- @Subgroup_ID = 1,
-- @DIMENSION_ID = N'076',
-- @TERM_NAME = N'13. Other animal products / Value',
-- @STATE_STRUCTURE_NAME = N'A3.3b';
EXECUTE usp_DROP_CREATE_DATA_Excluded 'n'; -- Drop the DATA_Excluded table.
--COMMIT TRANSACTION;
ROLLBACK TRANSACTION;
GO