Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sql-plan-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ This statement outputs the execution plan bindings at the GLOBAL or SESSION leve
{{< copyable "sql" >}}

```sql
SELECT [SESSION] @@last_plan_from_binding;
SELECT @@[SESSION.]last_plan_from_binding;
```

This statement uses the system variable [`last_plan_from_binding`](/system-variables.md#last_plan_from_binding-new-in-v40) to show whether the execution plan used by the last executed statement is from the binding.
Expand Down