This documentation is archived and is not being maintained.

Hints (SQL Server Compact Edition)

Options or strategies specified for enforcement by the Microsoft SQL Server 2005 Compact Edition (SQL Server Compact Edition) query processor on SELECT, INSERT, UPDATE, or DELETE statements.

The hints override any execution plan the query optimizer might select for a query.

Because the query optimizer of SQL Server typically selects the best execution plan for a query, we recommend that <join_hint>, <query_hint>, <table_hint>, and <view_hint> only be used as a last resort by experienced developers and database administrators.

The following hints are described in this section: