Foxhound is the better* Database Monitor for SQL Anywhere.
*better: More thorough, more relevant, more effective.
...more Alerts, more All Clears, more details, more control in your hands.
|
[Home] | [Table of Contents] | [Previous Section] | [Next Section] |
Breck Carter
Last modified: February 12, 1998
mail to: bcarter@bcarter.com
SQL Server compatibility has brought many Transact SQL features to SQL Anywhere. One of these is the SET ROWCOUNT <maximum-row-count> statement. According to the documentation this limits the number of rows fetched for any cursor. It also affects the number of rows returned by the DataWindow Retrieve() function in PowerBuilder as shown in Figure 33A.
Figure 33A - SET ROWCOUNT Works With PowerBuilder Retrieve()
Figure 33B shows the script behind the "<< SET ROWCOUNT nnn" button in Figure 33A. This kind of logic is handy for testing new code and for the prevention of runaway adhoc queries. The limit can be removed by executing a SET ROWCOUNT 0 statement.
Figure 33B - SET ROWCOUNT In PowerScript
|
[Home] | [Table of Contents] | [Previous Section] | [Next Section] |