Hello All,
I'd like to take a table provided by a customer that has four columns provided as one like so:
Business_Addr
1123 Main st Los Angeles CA 90057
and split them out into different columns:
Addr1 City State Zip
1123 Main St Los Angeles CA 90057
Not sure exactly how to go about it.
Tried something like;
Insert into Active02-02 (BusAddr1)
Select Substring(RTRIM(Business_Addr,1,' '))
From Active02;
Only I receive an Error
The RTRIM Function requires 1 arguments.
Some advise please.
David
I'd like to take a table provided by a customer that has four columns provided as one like so:
Business_Addr
1123 Main st Los Angeles CA 90057
and split them out into different columns:
Addr1 City State Zip
1123 Main St Los Angeles CA 90057
Not sure exactly how to go about it.
Tried something like;
Insert into Active02-02 (BusAddr1)
Select Substring(RTRIM(Business_Addr,1,' '))
From Active02;
Only I receive an Error
The RTRIM Function requires 1 arguments.
Some advise please.
David