Setting Options for Importing XML Data

Use the Import Options screen to set the options for importing XML data.

To set options for importing XML data:

1.         From the Import Options screen, specify whether you want to import all rows or a range of rows. To import all rows, select the All Rows radio button. To import a range of rows select the radio button below the All Rows radio button and indicate the range of rows that you want to import in the fields.

1.         Indicate the name of the file that you want to import in the Result File field.

2.         Select your locale from the Locale menu.

3.         In the Null Value field, type what you want to be used to indicate that a cell has a value of null.

4.         To indicate that a column is to be included, check the Include check box next to that column.

5.         In the Column field indicate the name for each column.

6.         From the Data Type menu, select the data type for each column.

7.         Use the Format field to specify a format string to apply to the data in that column.

8.         Use the Match field, to specify that only rows matching the criteria that is specified in the Match field are to be imported. For example if you were importing data about employees and one of the columns in the table that you were importing indicated department number, you could specify that only employee records for employees in department 560 were to be imported by typing 560 in the Match filed next for the DEPTNUMB column.

Note:      If you do not specify a format for a date, time, timestamp, or number data type, DB2 Web Query Tool uses the format for your selected Locale.

9.         Click Select.

 

Related Information:

Importing a new results set