I am trying to separate a varchar (40) name field into 3 fields.
Last Name
First name
Middle name
The only thing that separates the name on the input file is spaces, none of the fields are in a fixed position.
Example of Input:
Mary Ann Jones
Joseph D Anderson
Lawrence Ambrose Olson
This is how I want them to be:
Mary Ann Jones
Joseph D Anderson
Lawrence Ambrose Olson
Any suggestions how to do this in teradata/Bteq ?
Kathy Nordstrom
Lost in CyberSPace
Last Name
First name
Middle name
The only thing that separates the name on the input file is spaces, none of the fields are in a fixed position.
Example of Input:
Mary Ann Jones
Joseph D Anderson
Lawrence Ambrose Olson
This is how I want them to be:
Mary Ann Jones
Joseph D Anderson
Lawrence Ambrose Olson
Any suggestions how to do this in teradata/Bteq ?
Kathy Nordstrom
Lost in CyberSPace