/ Published in: SQL
I had several vocabularies but wanted to merge them into one.
A simple query does this for you.
The vocabulary_id where I wanted to merge all the tags into is 3
The vocabulary_id where the tags are to be merged from is 7, 8 and 12
A simple query does this for you.
The vocabulary_id where I wanted to merge all the tags into is 3
The vocabulary_id where the tags are to be merged from is 7, 8 and 12
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UPDATE term_data SET vid = 3 WHERE vid IN(7, 8, 12)