is there a way to limit the number of rows while exporting or imported data in DBeaver?
In my case I have a remote DB2 and I need to import SOME rows of a specific table into a local MySQL DB that I have.
Is there a way to do that?
Thanks
is there a way to limit the number of rows while exporting or imported data in DBeaver?
In my case I have a remote DB2 and I need to import SOME rows of a specific table into a local MySQL DB that I have.
Is there a way to do that?
Thanks
Limiting the number of rows being exported only makes sense if the export wizard knows what rows (e.g. order) to export. Therefore it only makes sense to export the resultset of a query, as opposed to export the actual table with a limiting factor.
This is how you can do this in DBeaver:
SELECT * FROM my_table ORDER BY mycolumn LIMIT n
.You can select the rows you want to export in the results and right click, select Avanced Copy and export those rows to the clipboard in the selected format.
© 2022 - 2024 — McMap. All rights reserved.