mysql print variable

Solutions on MaxInterview for mysql print variable by the best coders in the world

showing results for - "mysql print variable"
Leon
26 Apr 2019
1declare myvar INT default 0;
2SET myvar = 5;
3SELECT concat('myvar is ', myvar);
4
Luisa
19 Jan 2018
1Press CTRL+C to copy SHOW [GLOBAL | SESSION] VARIABLES
2    [LIKE 'pattern' | WHERE expr]