PDA

View Full Version : How to show the value of stored session variable in MySQL from qt?



Ahmed Abdellatif
5th May 2018, 13:39
in MYSQL workbench, i have registered the session variable :

set @d=2;
but when i try to execute the statement from qt it gave me empty table with 1 empty column, the column suppose to have the value of 2;
so who to show the value of the stored session variable @d from QT?