SET STATEMENT
Set a system variable for the duration of a single query. This statement allows temporary configuration changes that apply only to the immediate statement.
Syntax
SET STATEMENT var1=value1 [, var2=value2, ...]
FOR <statement>Description
SET @save_value=@@var1;
SET SESSION var1=value1;
stmt;
SET SESSION var1=@save_value;Examples
SET STATEMENT max_statement_time=1000 FOR SELECT ... ;Limitations
Source
Last updated
Was this helpful?

