In the previous tutorial you loaded a dimension that stores geographical information. You ran it once, causing the insertion of one record for each city and a special record with values
n/a
for the descriptive fields. Let's apply some changes in the operational database, and run the transformation again to see what happens.Launch MySQL Query Browser.
Type the following sentence to change the names of the countries to upper case:
UPDATE countries SET country_name = UCASE(country_name)
Execute it.
If the transformation created in the last tutorial is not open, open it again.
Run the transformation.
The Step Metrics looks like this:
Explore the
js_dw
database again and do a preview of thelk_regions
table. This time you will see the following:
Argentina
Australia
Austria
Belgium
Brazil
Bulgaria
Canada
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
France
Germany
Great Britain
Greece
Hungary
India
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Russia
Singapore
Slovakia
Slovenia
South Africa
South Korea
Spain
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine
United States