Specify the behavior of the SQL Results view.
Setting limits on data retrieved or displayed is recommended for testing queries on very large or wide tables.
Select Window|Preferences from the main menu bar.
The Preferences dialog box appears.
In the left pane, expand Sybase, Inc, then expand Database Development and select SQL Results View.
Select options for SQL Results view:
SQL Results View preferences
Field | Explanation |
---|---|
Display Window | Select a window display style:
|
Display Mode | Select a results display mode:
|
Show column headings | Select to show column headings
in the results view:
Always enabled for grid mode. Default for Text mode. |
Show row number | Select to show row numbers in results
view:
|
Show row count message | Select to show number of rows affected.
In text mode, row count appears at the end of the results. In grid mode, row count appears in the Status window. |
Maximum rows to retrieve: | Enter number of rows to
retrieve. Default is 0 (retrieves all rows).
Set a maximum to improve performance when testing queries, and to avoid running out of memory when retrieving data from very large tables, for example, a hundred million rows. |
Maximum display row count: | Enter number of rows to
display in the results view.
To see all results, set Maximum rows to retrieve to 0, and then save to a file. |
Text image size: | Enter maximum width of data to retrieve, for Adaptive Server Enterprise only. Default is 32767 bytes. Select to improve performance and to avoid running out of memory when retrieving very wide data. Datatypes long binary, long varchar, and types based on them including text, image, xml, can be 50MB or more. |
Display null value as: | Enter characters to display when the value is NULL. Default is NULL. |
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com