Procedure
-
Double-click the tFileInputDelimited
component to open its Component view.
-
Click the [...] button next to the File Name/Stream field to browse to the input file.
In this example, it is D:/Input/Employee_Wage.txt. This text file holds three columns:
id, name and wage.
id;name;wage 51;Harry;2300 40;Ronald;3796 17;Theodore;2174 21;James;1986 2;George;2591 89;Calvin;2362 84;Ulysses;3383 4;Lyndon;2264 17;Franklin;1780 86;Lyndon;3999
- In the Header field, type in 1 to skip the first row of the input file.
-
Click Edit schema to define the data to pass
on to the tMSSqlOutput component. In this
example, we define id as the key, and specify
the length and precision for each column respectively.
Click OK to close the schema editor. A dialog box opens, and you can choose to propagate the schema to the next component.Related topic: pka1550477846254.html.