I am searching for tools to dump db2 tables (like sqlyog or MySQL browser in MySQL).
Can you suggest me some?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
DB2 ships with a utility called
db2lookthat will do what you’re looking for. Try this command:If you’re looking to take the data with you, the command
db2movecould also be useful. Effectively, it does a db2look as described above, and also exports the data from every table. Then on your new database, you can import and be good to go. In my experience, we used this to migrate from DB2 running on Windows to DB2 on Linux.Loading on the other instance is equally easy:
Check
db2move -hfor more information.