<div dir="ltr"><br><br><div class="gmail_quote">On Sat, Nov 3, 2012 at 12:48 AM, Amos Shapira <span dir="ltr">&lt;<a href="mailto:amos.shapira@gmail.com" target="_blank">amos.shapira@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p>(Off the top of my head on the phone)<br>
&quot;ALTER TABLE DROP COLUMN...&quot;?</p></blockquote><div>i do not have the old table, just the mysqldump file ...<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div class="gmail_quote"><div><div class="h5">On Nov 3, 2012 5:24 AM, &quot;Erez D&quot; &lt;<a href="mailto:erez0001@gmail.com" target="_blank">erez0001@gmail.com</a>&gt; wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
<div dir="ltr">hello,<div><br></div><div>i am downgrading mythtv. to keep my data, i need to import my recording table</div><div>however in the older version the table has less columns</div><div>i have a mysqldump of the wider table and need to insert into older version with narrower table.</div>




<div><br></div><div>i thought about using awk to delete the non relevant fields. however there are man &quot;,&quot; inside strings, so splitting fields by &quot;,&quot; is not simple</div><div><br></div><div><br></div><div>




any simple idea ? some sql magic ?</div><div><br></div><div>thanks,</div><div>erez.</div></div>
<br></div></div>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div>
</blockquote></div><br></div>