Skip to main content
The SHOW STATEMENT HINTS lists the that have been created for a specific SQL statement fingerprint using the information_schema.crdb_rewrite_inline_hints() and information_schema.crdb_set_session_variable_hint() .

Required privileges

Users must have the privilege to run SHOW STATEMENT HINTS.

Synopsis

show_statement_hints syntax diagram

Parameters

Options

Response

The following fields are returned:

Examples

Show hints for a statement

To show all hints for a specific statement fingerprint:

Show hints with detailed information

To include hint-specific details in the output:
This example shows a REWRITE INLINE HINTS type hint. For a SET VARIABLE hint, the details would include the session variable name and value:

See also