Results 1 to 1 of 1

Thread: How to show the value of stored session variable in MySQL from qt?

  1. #1
    Join Date
    Sep 2017
    Posts
    23
    Thanks
    8
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to show the value of stored session variable in MySQL from qt?

    in MYSQL workbench, i have registered the session variable :
    Qt Code:
    1. set @d=2;
    To copy to clipboard, switch view to plain text mode 
    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?
    Last edited by Ahmed Abdellatif; 5th May 2018 at 13:50.

Similar Threads

  1. Replies: 1
    Last Post: 6th March 2023, 12:05
  2. Replies: 2
    Last Post: 19th October 2017, 23:25
  3. Qt4 Mysql stored procedure
    By lynnH in forum Qt Programming
    Replies: 2
    Last Post: 28th April 2010, 08:05
  4. Cannot create MySQL stored procedure / views from Qt
    By pshah.mumbai in forum Qt Programming
    Replies: 8
    Last Post: 8th October 2008, 16:22
  5. MySql Stored Procedures Woes
    By stevey in forum Qt Programming
    Replies: 9
    Last Post: 19th October 2006, 12:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.