I'm working with a longtext column with these kinds of entries:
:2:;:33:;
:11:;:40:;
:3808:;
:472:;:45:;
What I need to do is replace the first set of numbers (2, 11, 3808, 472) with the result of another query, but leave the rest of the field intact. For example, if I wanted to replace the four examples above with the number "6", it would look like this:
:6:;:33:;
:6:;:40:;
:6:;
:6:;:45:;
I have looked at the ALTER TABLE command, but I'm not sure it's the right choice for this application. Thanks in advance!