Answers for "mysql print variable"

SQL
1

mysql print variable

declare myvar INT default 0;
SET myvar = 5;
SELECT concat('myvar is ', myvar);
Posted by: Guest on July-30-2021
0

show global variables

Press CTRL+C to copy SHOW [GLOBAL | SESSION] VARIABLES
    [LIKE 'pattern' | WHERE expr]
Posted by: Guest on October-31-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language