UseTopSyntax

Possible values: true, false

Default value: false

File: dbVendorConf.xml file

Context: Drivers

If set to true, DODS generates "TOP" keyword in SQL statement with value defined by maxDBrows attribute of Query object. With "TOP" keyword is defined maximum numbers of rows that can be retrieved from database (patch for Microsoft SQL Server 2005).

For example, if attribute maxDBrows is set to value 25, and <UseTopSyntax> tag of dbVendorConf.xml file is set to true, DODS will generate SQL statement that begins like:

SELECT TOP 25 * from . . .