LFDavidson
Technical User
New to this site and new to learning SQL so hopefully this is an acceptable post:
I have two tables in MSSQL, one that contains a field with concatenated data that I need to query and put the data into two separate fields in another table.
Table - Contact
I identify the correct records when field "First" has the code GPS. The content of the field "Contact_Point" holds the concatenated GPS Coordinates similar to 35.8516720N,78.5809430W and the number of decimal places will vary.
Table - Customer
I need to separate the GPS Coordinates in the Table Contact/Field Contact_Point and insert them into the correct records in the fields "X-Coordinate" and "Y-Coordinate" in the Customer Table.
"ID" Field in Customer = "Customer_ID" Field in Contact
Looking for help on how to write the query and update to do this.
I have two tables in MSSQL, one that contains a field with concatenated data that I need to query and put the data into two separate fields in another table.
Table - Contact
I identify the correct records when field "First" has the code GPS. The content of the field "Contact_Point" holds the concatenated GPS Coordinates similar to 35.8516720N,78.5809430W and the number of decimal places will vary.
Table - Customer
I need to separate the GPS Coordinates in the Table Contact/Field Contact_Point and insert them into the correct records in the fields "X-Coordinate" and "Y-Coordinate" in the Customer Table.
"ID" Field in Customer = "Customer_ID" Field in Contact
Looking for help on how to write the query and update to do this.