Home | Previous Page | Next Page   Defining Maps > Unload Maps >

Unloading Data Using Functions

If you use a function in a query to unload data, you must associate a name with the result of that function. In the following example, the returned value of the function TRIM is assigned the name field1.

SELECT TRIM(col1) field1 FROM tab1

After submitting the query, you must attach field1 to col1 of the unload file manually, as Figure 91 shows.

Figure 91. The Map-Definition Window
begin figure description - This graphic depicts the ipload graphical user interface. The onpladm command line utility provides the same functionality. - end figure description
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]