Clever export from MySQL

K

Konrad Billewicz

Hello,

I would like to export a part of my MySQL database as a SQL script. I
thought about mysqldump.exe but it's too simple. I need to export rows from
one table which matchs simple criteria and all rows from other tables which
are in relation with them.

The ideal solution would be to make a SELECT query and pass it to
*something*. This *something* would execute the query, analyze found rows
and return SQL script creating these rows.

In current project I'm using Hibernate but this part can be done using any
tool or pure JDBC.

How would you handle such a task?

--
Best regards,
Konrad Billewicz

Akonet Sp. z o.o.
ul. Rozbrat 32/37
00-429 Warszawa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top