I have a table in a db that is labeled like so:
TableA:
ID ID2 Text
0 64556-546-1 465846 adfadf
1 64556-546-1 465846 adfadf
2 64556-546-1 465846 adfadf
I want to trim the symbol(-) and digit after the dash only from the first column and only the dash in the second position how would I go about this? so the number will look like 64556-546.
The value will be compared to another in another table, so no need to create another column.
Thank you in advance.