<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>If you must do it manually, you are safer doing separate INSERT statements.</span></div><div><br><span></span></div><div><span>But, since you say you are unfamiliar with the Drupal database, I strongly recommend doing it through the Drupal user interface to avoid damaging your database.</span></div><div>&nbsp;</div><div><font color="#ff007f" face="bookman old style, new york, times, serif" size="4"><i><strong>Nancy</strong></i></font></div>&nbsp;<div><font face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif;
 font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Jeff Brown &lt;jeff@wildcoast.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> support@drupal.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, November 1, 2011 11:33 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [support] MySQL noob: Update images to gallery tid<br></font><br>
Hope you'll pardon my absolute lack of knowledge of SQL and give me a&nbsp; <br>little clue or 2.<br><br>I'm retroactively changing the photos layout on a site to Views&nbsp; <br>Gallery, and need to update a couple of image nodes to the Term&nbsp; <br>"gallery".<br><br>Could do it manually, I guess, but I'd really love to know this trick.<br><br>So I have nid 1,2,3,4, etc. that need to have the gallery tid =&nbsp; <br>'1' (for argument's sake).<br><br>Therefore I need to update the 'term_node' table - and INSERT where&nbsp; <br>nid = 1,2,3,4 tid = '1'<br><br>I think that makes sense?<br><br>Thanks. :)<br>-- <br>[ Drupal support list | http://lists.drupal.org/ ]<br><br><br></div></div></blockquote></div></div></body></html>