Looking for SQL help
Posted: 07 Aug 2015, 13:40
Hi Folks,
I recently started doing some diddling with the USA-CA award and found a common problem with a number of my old QSO records that I had originally created with another logger a number of years ago. Right now I have 140 records where the state is repeated in the county field. So for instance, instead of saying "CT,Litchfield", it says "CT,CT,Litchfield". It does match the LIKE pattern "__,__," Can anyone tell me a good query to correct this? It would be a real plus if I could correct the QsoAwards field at the same time -- e.g., change USA-CA@FL-FL-DUVAL to USA-CA@FL-DUVAL.
Many Thanks!
-- Dana, KA1WPM
I recently started doing some diddling with the USA-CA award and found a common problem with a number of my old QSO records that I had originally created with another logger a number of years ago. Right now I have 140 records where the state is repeated in the county field. So for instance, instead of saying "CT,Litchfield", it says "CT,CT,Litchfield". It does match the LIKE pattern "__,__," Can anyone tell me a good query to correct this? It would be a real plus if I could correct the QsoAwards field at the same time -- e.g., change USA-CA@FL-FL-DUVAL to USA-CA@FL-DUVAL.
Many Thanks!
-- Dana, KA1WPM