Re: get a partial dump

2012-10-26 Thread bars0.bars0.bars0
W dniu 2012-10-18 16:27, Stefan Kuhn pisze: Hi everybody, I want to get insert statements from a mysql database for a number of rows of a table, specified by a where clause. I also need the inserts for the datasets linked via foreign keys in other tables. So I need a sort of partial dump, a bit l

Re: get a partial dump

2012-10-24 Thread Stefan Kuhn
Ok, but I can't trace foreign key references, can I? Plus I can't run this from Java (well, I can, but it's cumbersome)? But thanks for the hint Stefan On Wednesday 24 October 2012 05:33:22 Eric Bergen wrote: > mysqldump has a --where argument that allows you to pass in a where clause. > > On Th

Re: get a partial dump

2012-10-23 Thread Eric Bergen
mysqldump has a --where argument that allows you to pass in a where clause. On Thursday, October 18, 2012, Stefan Kuhn wrote: > Hi everybody, > I want to get insert statements from a mysql database for a number of rows > of > a table, specified by a where clause. I also need the inserts for the >

get a partial dump

2012-10-22 Thread Stefan Kuhn
Hi everybody, I want to get insert statements from a mysql database for a number of rows of a table, specified by a where clause. I also need the inserts for the datasets linked via foreign keys in other tables. So I need a sort of partial dump, a bit like mysqldump, but restricted to a (small)