I am using DBVisualizer 8.0.6 and when I run a simply query like....
select * from table
It only shows the first 1000 rows and then stops the query and displays in the bottom left corner... "Number of rows limited by maxrows"
How do I change this #? I'm writing a query which needs to export a little over 1000 rows but dbvisualizer has this set limit...
I tried something like @set maxrows 2000 then commit then run my query. Still returns only 1000 rows. This is for an Oracle table.
If you really need to look at more than 1000 rows, you can change the value in the Max Rows field in the SQL Commander toolbar. Use a value of 0 or -1 to get all rows, or a specific number (e.g. 5000) to set a new limit. Character data columns may contain very large values that use up lots of memory.
How to select more than 1000 rows by default in SQL Server Management Studio. In SQL Server Management Studio when we right-click a table we have an option to 'Select Top 1000 Rows' and 'Edit Top 200 Rows' as shown below…
The query builder is a drag-and-drop tool where you drag the tables you want to query into the tool and check the boxes of the data you want to select. DbVisualizer will automatically generate the SQL needed to run the query.
Azure SQL Database is a SQL Server database engine, based on the latest stable Enterprise Edition of SQL Server and fully managed by Azure.
There is a box in SQL Commander labeled Max Rows. Set it to -1
for the complete result set.
Or you could just export directly to a file. This will allow to export many more rows than the DBVisualizer GUI can show you. When having to export a few million records (should you ever need that), this is quite useful.
Simply do something like this in your SQL Commander:
@export on; @export set Filename="d:\temp\export" format="CSV" DecimalNumberFormat="00000000000" CsvRowDelimiter="\r\n" CsvIncludeColumnHeader="false"; SELECT YOURFIELD FROM YOURTABLE WHERE SOMEFIELD = AFILTERVALUE;
You can find more about this (and the various parameters) here: http://www.dbvis.com/products/dbvis/doc/7.1/doc/ug/sqlCommander/sqlCommander.html#mozTocId448386
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With