Previous Topic

Next Topic

Inhoudsopgave

Book Index

Table Hint Syntax

The syntaxes in ASE and MS SQL Server slightly differ. Also, ASE has table hints for prefetch I.O size, buffer replacement strategy and parallelism. In MS SQL Server, those hint options are not present because the server is self-tuning.

… from table_name [(index index_name)] [lock_options]

… from table_name [with (index (index_name) [, lock_options]]

Example

select * from Test (index Test_i) holdlock where j > 10

select * from Test with (index (Test_i), holdlock) where j > 10