The RowSetSize property of the ProviderCommand object allows applications to limit the size of the result set returned (refer to the
DataDirect Connect for ADO.NET User’s Guide and the data provider’s online help for information about the .NET objects supported).
where my_SQL_statement is a SQL statement, and
x is the number of rows to which the application wants the result set limited.
NOTE: The SQL extension escape must be placed at the end of the SQL statement. Otherwise, the database server may return a syntax error when the statement is executed.
Using the RowSetSize SQL escape extension has the same affect as setting the ProviderCommand.RowSetSize property. However, the effect is limited to the result set created by the SQL statement. The RowSetSize SQL escape extension does not set the RowSetSize property on the Command object.