sbj
Well-known member
So I have 5k threads which are populated with custom thread fields and their choices.
Updating all of them manually would take a lot of time.
If I can only update 1 thread by using the id of it, then I can easily create an excel sheet to mass update 5k threads with the correct thread ids.
The thread fields do exist, the choices do exist and each thread has already 6 fields applied with a given choice. I want to update one of the fields.
I tried this
This command goes through without an error, but it doesn't work. I don't understand how I can set a value of a BLOB file by using SQL.
Anyone know better? Thanks.
Updating all of them manually would take a lot of time.
If I can only update 1 thread by using the id of it, then I can easily create an excel sheet to mass update 5k threads with the correct thread ids.
The thread fields do exist, the choices do exist and each thread has already 6 fields applied with a given choice. I want to update one of the fields.
I tried this
UPDATE `xf_thread` SET `custom_fields`="My_Custom_Thread_Field_Nr_4":"New_Choice" WHERE `thread_id` = '1'
This command goes through without an error, but it doesn't work. I don't understand how I can set a value of a BLOB file by using SQL.
Anyone know better? Thanks.